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.00509/0.00509, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001163/0.001163, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.428/2.428, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.89 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9333, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002473/0.9358, allocations: 0.8248 MB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9374, allocations: 1.017 MB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.9375, allocations: 4 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.9377, allocations: 7.875 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.9377, allocations: 27.78 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.9382, allocations: 95.75 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.9383, allocations: 119.7 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.9385, allocations: 45.39 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.9386, allocations: 55.77 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.9387, allocations: 59.75 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.9388, allocations: 12 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.9389, allocations: 83.92 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.939, allocations: 39.89 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.9391, allocations: 55.66 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.9393, allocations: 197.6 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9393, allocations: 3.938 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9394, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.9394, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 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.001019/0.9404, allocations: 482.7 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.9405, allocations: 16.92 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.9405, allocations: 42.73 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.9406, allocations: 12.75 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.9409, allocations: 206.4 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.9409, allocations: 8.375 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.9409, allocations: 4.375 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.9415, allocations: 186.1 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.9416, allocations: 7.922 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9416, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.9416, allocations: 15.94 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.9423, allocations: 203.9 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009612/0.9433, allocations: 448.3 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.9437, allocations: 142.4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.9441, allocations: 132.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.9441, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9441, allocations: 34.55 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.9441, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.001167/0.9453, allocations: 391.3 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.9454, allocations: 51.48 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.9455, allocations: 156.5 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.9456, allocations: 33.69 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.9456, allocations: 116.3 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.9457, allocations: 39.36 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.9457, allocations: 21.72 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9459, allocations: 322.8 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.9462, allocations: 115.9 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.9465, allocations: 115.8 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.9472, allocations: 244.6 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9472, allocations: 0 / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007073/0.9479, allocations: 288.3 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.9479, allocations: 4 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9479, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.9479, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.9482, allocations: 39.95 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.9482, allocations: 3.938 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.9484, allocations: 31.89 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.9485, allocations: 4 kB / 1.173 GB, free: 13 MB / 0.9044 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.0001288/0.9486, allocations: 125.8 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.9487, allocations: 15.75 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.9487, allocations: 24.81 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.9487, allocations: 12 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9487, allocations: 3.938 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9488, allocations: 0 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.949, allocations: 221.5 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9491, allocations: 0 / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.9492, allocations: 43.89 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9493, allocations: 0 / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.9493, allocations: 8 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9493, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9493, allocations: 7.938 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.9501, allocations: 375.2 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.9502, allocations: 88.92 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.9502, allocations: 3.984 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.9504, allocations: 27.97 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.9505, allocations: 19.91 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.9505, allocations: 8 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.9506, allocations: 103.3 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9506, allocations: 0 / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004975/0.9511, allocations: 51.92 kB / 1.174 GB, free: 11.79 MB / 0.9044 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.00178/0.9529, allocations: 0.9308 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.9541, allocations: 255.7 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9541, allocations: 3.938 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.9547, allocations: 135.9 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.9554, allocations: 23.86 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.9598, allocations: 2.17 MB / 1.177 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.9601, allocations: 0.7119 MB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.824e-05/0.9602, allocations: 23.97 kB / 1.178 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.9603, allocations: 39.42 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.9603, allocations: 0 / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.9812, allocations: 3.559 MB / 1.181 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.636, allocations: 5.203 kB / 1.181 GB, free: 3.914 MB / 0.9044 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=50 --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