Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.00145/0.00145, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.17 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.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.84 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8849, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001847/0.8868, allocations: 0.5572 MB / 1.168 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.197e-05/0.8869, allocations: 4 kB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.8869, allocations: 0 / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.8869, allocations: 3.938 kB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.908e-05/0.887, allocations: 4 kB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-05/0.887, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.8871, allocations: 4 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.8871, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.8871, allocations: 3.938 kB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.8872, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.8872, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-06/0.8872, allocations: 4 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.8872, allocations: 3.984 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.8872, allocations: 4 kB / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.948e-05/0.8873, allocations: 3.984 kB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8873, allocations: 4 kB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8873, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.8873, allocations: 0 / 1.168 GB, free: 3.273 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003059/0.8876, allocations: 307.6 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8877, allocations: 8.922 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.8877, allocations: 8.875 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8878, allocations: 164.4 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.8879, allocations: 384 / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.8879, allocations: 384 / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.888, allocations: 42.2 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.888, allocations: 192 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.888, allocations: 3.938 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.888, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.888, allocations: 3.984 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.8883, allocations: 379.5 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.8884, allocations: 177 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.8884, allocations: 80.14 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8885, allocations: 79.22 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.8885, allocations: 109.9 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8885, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.934e-05/0.8886, allocations: 29.7 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.8887, allocations: 138.6 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.8888, allocations: 93.86 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.8888, allocations: 25.7 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.8888, allocations: 80.14 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.8888, allocations: 0 / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.8888, allocations: 13.72 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.889, allocations: 314.8 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.889, allocations: 4.125 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-06/0.889, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.889, allocations: 75.28 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/0.889, allocations: 75.28 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.557e-05/0.8891, allocations: 43.98 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.8891, allocations: 79.28 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.8892, allocations: 79.25 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.444e-05/0.8892, allocations: 162.6 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.8893, allocations: 79.22 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/0.8893, allocations: 150.6 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.8894, allocations: 79.28 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.8894, allocations: 79.22 kB / 1.171 GB, free: 140 kB / 0.8887 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001442/0.8896, allocations: 271.4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.8896, allocations: 108.9 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.8897, allocations: 108 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-05/0.8897, allocations: 180.3 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-05/0.8898, allocations: 180.3 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/0.8899, allocations: 184.2 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.8901, allocations: 405.2 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/0.8901, allocations: 104.9 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.8902, allocations: 109 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/0.8902, allocations: 180.3 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.8903, allocations: 184.2 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-05/0.8904, allocations: 176.3 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.8904, allocations: 188.2 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.8906, allocations: 312.1 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.8906, allocations: 178.1 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.8907, allocations: 180.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.8908, allocations: 116.9 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.8909, allocations: 176.3 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.8909, allocations: 108.9 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.8909, allocations: 83.22 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8909, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002534/0.8912, allocations: 0 / 1.174 GB, free: 12.45 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001444/0.8914, allocations: 178.6 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.193e-05/0.8914, allocations: 3.984 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8914, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.8914, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.8918, allocations: 463.6 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.892, allocations: 184.3 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.8923, allocations: 0.6767 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.8923, allocations: 7.438 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.8923, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.001481/0.8938, allocations: 327.8 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches