Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008688/0.008689, allocations: 102 kB / 15.73 MB, free: 6.035 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.001732/0.001732, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.445/2.445, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.734/3.734, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 65.19 kB / 0.9505 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4291, allocations: 140.4 MB / 1.088 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.004072/0.4332, allocations: 0.8306 MB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.4361, allocations: 1.014 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.4363, allocations: 4 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.4365, allocations: 7.875 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.4367, allocations: 19.8 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.4375, allocations: 87.83 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.4379, allocations: 123.6 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.4382, allocations: 53.39 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.4383, allocations: 51.81 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.4385, allocations: 59.77 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.4386, allocations: 11.94 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.4388, allocations: 91.84 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.4389, allocations: 35.91 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4391, allocations: 59.61 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.4395, allocations: 202.1 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4395, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4396, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4396, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 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.001366/0.441, allocations: 483.6 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.441, allocations: 8.031 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.4411, allocations: 42.75 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.4412, allocations: 16.75 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.4416, allocations: 196.1 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.4416, allocations: 8.359 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4417, allocations: 8.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4427, allocations: 186 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4427, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.4428, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/0.4429, allocations: 11.98 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.4442, allocations: 207.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.4459, allocations: 460.3 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.4468, allocations: 138.4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.4475, allocations: 132.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4476, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.4476, allocations: 38.56 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 6.292e-06/0.4477, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.002392/0.4501, allocations: 396.5 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4502, allocations: 63.41 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.4504, allocations: 143.8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4505, allocations: 25.7 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4506, allocations: 104.4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.4508, allocations: 55.2 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4509, allocations: 29.77 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002723/0.4512, allocations: 322.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.452, allocations: 107.9 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.4527, allocations: 111.9 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.4542, allocations: 244.6 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4543, allocations: 0 / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001651/0.4559, allocations: 287.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.456, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.456, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4561, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.4565, allocations: 47.89 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4566, allocations: 3.938 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.4569, allocations: 27.95 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.457, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 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.000214/0.4572, allocations: 129.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.4573, allocations: 11.81 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.4574, allocations: 12.84 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-05/0.4574, allocations: 11.98 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.4575, allocations: 3.938 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4575, allocations: 3.984 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.4581, allocations: 229.5 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4582, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.4586, allocations: 39.95 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4586, allocations: 3.938 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4586, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4586, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.4587, allocations: 3.938 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4603, allocations: 375.1 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.4604, allocations: 88.95 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.4605, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.4609, allocations: 31.89 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4611, allocations: 19.92 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.4611, allocations: 3.984 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000239/0.4614, allocations: 113.1 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4614, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006068/0.462, allocations: 43.89 kB / 1.095 GB, free: 10.01 MB / 0.8575 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.002515/0.4645, allocations: 0.939 MB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.4662, allocations: 255.8 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4662, allocations: 0 / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008929/0.4671, allocations: 135.8 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.4678, allocations: 19.92 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.4744, allocations: 2.159 MB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.475, allocations: 0.7292 MB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.4753, allocations: 15.92 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4754, allocations: 43.42 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of SimCode: time 1.062e-06/0.4754, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.5135, allocations: 3.567 MB / 1.103 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.57, allocations: 6.391 kB / 1.103 GB, free: 2.129 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches