Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.008503/0.008504, 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.001754/0.001754, allocations: 199.5 kB / 16.68 MB, free: 5.957 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.994, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001973/0.996, allocations: 0.5788 MB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.9977, allocations: 1.12 MB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.9978, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.9978, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.9979, allocations: 11.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.9985, allocations: 127.3 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.9987, allocations: 87.88 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.9988, allocations: 4 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.9989, allocations: 43.86 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.999, allocations: 35.88 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.9991, allocations: 8 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.9992, allocations: 23.98 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.9992, allocations: 3.938 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.9992, allocations: 27.91 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.9994, allocations: 75.86 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9994, allocations: 0 / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.787e-06/0.9995, allocations: 4 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9995, allocations: 3.938 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000542/1, allocations: 379.4 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1, allocations: 12.03 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/1, allocations: 38.73 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/1, allocations: 4.938 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1, allocations: 164.3 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1, allocations: 4.375 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/1, allocations: 4.375 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/1, allocations: 42.19 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.001, allocations: 7.938 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.001, allocations: 3.984 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.001, allocations: 4 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/1.001, allocations: 4 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/1.001, allocations: 284.8 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/1.001, allocations: 30.44 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/1.001, allocations: 8.859 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-06/1.001, allocations: 0 / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/1.001, allocations: 63.45 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.001, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002076/1.001, allocations: 57.69 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/1.002, allocations: 59.34 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/1.002, allocations: 105.8 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/1.002, allocations: 25.7 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/1.002, allocations: 92.03 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/1.002, allocations: 4 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/1.002, allocations: 33.7 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.002, allocations: 318.8 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/1.002, allocations: 23.98 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/1.002, allocations: 50.56 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/1.002, allocations: 92.14 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.002, allocations: 0 / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002412/1.002, allocations: 139.2 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/1.002, allocations: 41.69 kB / 1.211 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/1.002, allocations: 4 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.002, allocations: 3.938 kB / 1.211 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/1.003, allocations: 3.938 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.003, allocations: 0 / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/1.003, allocations: 28.06 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/1.003, allocations: 11.98 kB / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.387e-05/1.003, allocations: 117.8 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/1.003, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/1.003, allocations: 7.906 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.003, allocations: 320 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.003, allocations: 0 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.003, allocations: 0 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.003, allocations: 165.6 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.003, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/1.003, allocations: 11.94 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.003, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/1.003, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.003, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.003, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.003, allocations: 89.19 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/1.003, allocations: 81.09 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/1.003, allocations: 4 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/1.003, allocations: 4 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/1.003, allocations: 4 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.003, allocations: 0 / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.08e-05/1.003, allocations: 87.27 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.004, allocations: 0 / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002158/1.004, allocations: 16 kB / 1.212 GB, free: 8.355 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004325/1.004, allocations: 0.6202 MB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002306/1.004, allocations: 123.3 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.004, allocations: 0 / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/1.004, allocations: 8 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/1.005, allocations: 14.02 kB / 1.213 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.006, allocations: 1.369 MB / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.006, allocations: 0.6768 MB / 1.215 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.767e-05/1.006, allocations: 4 kB / 1.215 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/1.006, allocations: 23.3 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.006, allocations: 0 / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/1.027, allocations: 1.993 MB / 1.217 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/8.409, allocations: 14.33 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches