Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 210 kB / 23.02 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9878/0.9878, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.925/1.925, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009708/0.0009708, allocations: 67.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7497, allocations: 180 MB / 1.353 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001907/0.7516, allocations: 0.8149 MB / 1.353 GB, free: 0.8242 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7528, allocations: 1.022 MB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.7528, allocations: 7.938 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.7529, allocations: 11.86 kB / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.753, allocations: 19.81 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.7534, allocations: 95.81 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.7535, allocations: 127.6 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.7537, allocations: 29.3 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.7537, allocations: 51.83 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.7538, allocations: 59.75 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.7538, allocations: 11.94 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.7539, allocations: 83.92 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.754, allocations: 43.84 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.7541, allocations: 51.66 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.7543, allocations: 213.3 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7543, allocations: 4 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7543, allocations: 0 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7543, allocations: 0 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006405/0.7549, allocations: 423.1 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.755, allocations: 8.922 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.755, allocations: 50.73 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.7551, allocations: 16.8 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.7552, allocations: 158.2 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7552, allocations: 4.375 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.7553, allocations: 12.38 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.7556, allocations: 210.8 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7556, allocations: 3.938 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7556, allocations: 4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7556, allocations: 4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.756, allocations: 219.8 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.7565, allocations: 495 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.7568, allocations: 146.5 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.7571, allocations: 144.7 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.7572, allocations: 4 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.7572, allocations: 34.5 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.7572, allocations: 0 / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=25): time 0.0007422/0.7579, allocations: 480 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.758, allocations: 59.34 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7581, allocations: 157.2 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.7581, allocations: 25.7 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.7581, allocations: 112.5 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.7582, allocations: 71.45 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.7582, allocations: 29.7 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.7583, allocations: 330.8 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.7585, allocations: 131.9 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.7587, allocations: 135.9 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.759, allocations: 298.3 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.759, allocations: 0 / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004167/0.7595, allocations: 335.9 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7595, allocations: 4 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.7595, allocations: 0 / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7595, allocations: 0 / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.7596, allocations: 47.88 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7596, allocations: 0 / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.7597, allocations: 43.86 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.7597, allocations: 3.984 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.7599, allocations: 138.3 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.7599, allocations: 19.84 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.7604, allocations: 358.6 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.7604, allocations: 3.938 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7605, allocations: 3.938 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7605, allocations: 4 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.7607, allocations: 228.6 kB / 1.36 GB, free: 9.898 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7607, allocations: 0 / 1.36 GB, free: 9.898 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.7608, allocations: 39.95 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7608, allocations: 0 / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.7608, allocations: 4 kB / 1.36 GB, free: 9.855 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.7608, allocations: 7.875 kB / 1.36 GB, free: 9.848 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7608, allocations: 0 / 1.36 GB, free: 9.848 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.7617, allocations: 437.1 kB / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.7617, allocations: 19.8 kB / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.7617, allocations: 0 / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.7619, allocations: 31.89 kB / 1.36 GB, free: 9.355 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.7619, allocations: 15.97 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.7619, allocations: 12 kB / 1.36 GB, free: 9.328 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.762, allocations: 103.3 kB / 1.36 GB, free: 9.227 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.762, allocations: 0 / 1.36 GB, free: 9.227 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002972/0.7623, allocations: 43.92 kB / 1.36 GB, free: 9.184 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/0.7632, allocations: 0.9879 MB / 1.361 GB, free: 8.172 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.7639, allocations: 371.1 kB / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7639, allocations: 0 / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.7642, allocations: 219.2 kB / 1.362 GB, free: 7.57 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.7645, allocations: 23.94 kB / 1.362 GB, free: 7.547 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.7672, allocations: 2.356 MB / 1.364 GB, free: 5.109 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.7673, allocations: 118.8 kB / 1.364 GB, free: 4.969 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.7673, allocations: 19.97 kB / 1.364 GB, free: 4.949 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.7674, allocations: 47.36 kB / 1.365 GB, free: 4.902 MB / 1.042 GB Notification: Performance of SimCode: time 9.41e-07/0.7674, allocations: 0 / 1.365 GB, free: 4.902 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.8889, allocations: 4.594 MB / 1.369 GB, free: 480 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/8.305, allocations: 15.38 kB / 1.369 GB, free: 472 kB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.175056874752045]