Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004875/0.004876, allocations: 97.41 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 195.8 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2535, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001741/0.2553, allocations: 0.8193 MB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2564, allocations: 1.014 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.2565, allocations: 4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.2566, allocations: 15.86 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2566, allocations: 19.75 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.2569, allocations: 95.73 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2571, allocations: 115.7 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2572, allocations: 53.33 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.2573, allocations: 51.83 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.2574, allocations: 59.75 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2574, allocations: 8 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2576, allocations: 87.91 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.2576, allocations: 43.84 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.2577, allocations: 51.61 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.2579, allocations: 199.5 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2579, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2579, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2579, allocations: 4 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007556/0.2587, allocations: 482.6 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2587, allocations: 8.031 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2588, allocations: 46.67 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2588, allocations: 16.84 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.259, allocations: 210.2 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.259, allocations: 16.3 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2591, allocations: 4.375 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.2596, allocations: 186 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2596, allocations: 3.938 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2596, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.2596, allocations: 19.92 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006985/0.2603, allocations: 201.8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.2612, allocations: 460.4 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.2616, allocations: 142.5 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.262, allocations: 128.8 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.262, allocations: 0 / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2621, allocations: 38.56 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.2621, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.001211/0.2633, allocations: 389.3 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2633, allocations: 55.41 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2635, allocations: 150.9 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2635, allocations: 29.7 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.2635, allocations: 112.4 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.2636, allocations: 55.61 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.2637, allocations: 29.69 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2638, allocations: 322.8 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.2642, allocations: 107.9 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.2645, allocations: 118.1 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.2653, allocations: 240.6 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2653, allocations: 0 / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000779/0.2661, allocations: 279.9 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2661, allocations: 4 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2661, allocations: 0 / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2661, allocations: 3.984 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2663, allocations: 35.95 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2663, allocations: 3.938 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2665, allocations: 35.89 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2665, allocations: 4 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0001003/0.2666, allocations: 129.8 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2667, allocations: 11.91 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.2667, allocations: 12.84 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.2667, allocations: 19.92 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2668, allocations: 7.938 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2668, allocations: 4 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.267, allocations: 225.5 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.267, allocations: 0 / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2672, allocations: 39.95 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2673, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2673, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2673, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2673, allocations: 3.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.2681, allocations: 379.2 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.2682, allocations: 92.95 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2682, allocations: 4 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2684, allocations: 31.95 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.2685, allocations: 23.84 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2685, allocations: 0 / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.2686, allocations: 113.3 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2686, allocations: 0 / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002662/0.2688, allocations: 39.94 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001206/0.2701, allocations: 0.927 MB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008065/0.2709, allocations: 267.6 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2709, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.2713, allocations: 131.9 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2716, allocations: 21.34 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2749, allocations: 2.172 MB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2752, allocations: 0.7197 MB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.86e-05/0.2753, allocations: 19.97 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.2753, allocations: 39.42 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.2754, allocations: 4 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/1.913, allocations: 3.551 MB / 1.181 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.745/11.66, allocations: 19.59 kB / 1.181 GB, free: 7.398 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches