Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_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.01407/0.01407, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.003967/0.003968, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.447/2.447, allocations: 222.9 MB / 240.4 MB, free: 4.188 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 4.211/4.211, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 62.97 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4748, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.003219/0.4781, allocations: 0.5901 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.4805, allocations: 1.118 MB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.4806, allocations: 3.938 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.4806, allocations: 0 / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.4808, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.4817, allocations: 128.4 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.4819, allocations: 99.81 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4821, allocations: 8 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.4822, allocations: 27.98 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.4824, allocations: 35.88 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.4824, allocations: 11.94 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.4826, allocations: 19.98 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.4826, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4827, allocations: 35.91 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.483, allocations: 79.78 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.483, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4831, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4831, allocations: 0 / 1.09 GB, free: 15.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000884/0.484, allocations: 376 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.484, allocations: 8.031 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.4841, allocations: 34.75 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.4842, allocations: 4.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.4844, allocations: 164.9 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4845, allocations: 8.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4845, allocations: 8.375 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4847, allocations: 38.19 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4847, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4847, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4847, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.4848, allocations: 11.98 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.4854, allocations: 277.2 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.4855, allocations: 30.52 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.4855, allocations: 16.84 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4856, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.4859, allocations: 67.23 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.4859, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002545/0.4861, allocations: 57.69 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.4862, allocations: 63.34 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4864, allocations: 105.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4864, allocations: 29.7 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.4865, allocations: 88.14 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.4865, allocations: 3.906 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.4866, allocations: 33.64 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4868, allocations: 318.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.4869, allocations: 27.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.487, allocations: 50.56 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4871, allocations: 84.14 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4872, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000285/0.4874, allocations: 143.3 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.4875, allocations: 37.69 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4875, allocations: 4.094 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4875, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-05/0.4876, allocations: 4.312 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4876, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.4878, allocations: 31.88 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.4879, allocations: 8 kB / 1.092 GB, free: 13.49 MB / 0.8575 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 0.0001272/0.488, allocations: 117.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.488, allocations: 8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.4881, allocations: 7.906 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4881, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4881, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4881, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4883, allocations: 165.6 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4883, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.4883, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4883, allocations: 3.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4883, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4883, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4883, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4885, allocations: 77.3 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.4885, allocations: 88.95 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.4886, allocations: 4.031 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.695e-05/0.4886, allocations: 3.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4886, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.4887, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.4887, allocations: 91.27 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4887, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.489, allocations: 20 kB / 1.092 GB, free: 12.8 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: 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.000578/0.4896, allocations: 0.6202 MB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.4898, allocations: 115.4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4898, allocations: 8.125 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.4899, allocations: 15.98 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4901, allocations: 17.45 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4917, allocations: 1.35 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.492, allocations: 0.6846 MB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.492, allocations: 0 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.4921, allocations: 11.44 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.4921, allocations: 0 / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.5138, allocations: 1.97 MB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.53, allocations: 0 / 1.097 GB, free: 7.945 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches