Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_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_9_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.001704/0.001704, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002448/0.002448, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.379 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 2.496/2.496, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8684, allocations: 140.4 MB / 0.9496 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002168/0.8706, allocations: 0.5473 MB / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.415e-05/0.8707, allocations: 0 / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.8707, allocations: 0 / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.8707, allocations: 1.594 kB / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.8708, allocations: 0 / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-05/0.8708, allocations: 0 / 0.9501 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.8709, allocations: 9.562 kB / 0.9501 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.871, allocations: 5.359 kB / 0.9502 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.871, allocations: 0 / 0.9502 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.068e-05/0.871, allocations: 5.25 kB / 0.9502 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.871, allocations: 4 kB / 0.9502 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.871, allocations: 0 / 0.9502 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.8711, allocations: 1.469 kB / 0.9502 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.8711, allocations: 0 / 0.9502 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.8712, allocations: 5.062 kB / 0.9502 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8712, allocations: 0 / 0.9502 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8712, allocations: 0 / 0.9502 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8712, allocations: 0.9375 kB / 0.9502 GB, free: 8.922 MB / 0.7169 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.0003135/0.8715, allocations: 314.6 kB / 0.9505 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8715, allocations: 9.406 kB / 0.9505 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.8716, allocations: 5.781 kB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.8717, allocations: 168.3 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8717, allocations: 1.781 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.8717, allocations: 384 / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.8718, allocations: 28.14 kB / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8718, allocations: 192 / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8718, allocations: 5.469 kB / 0.9507 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8718, allocations: 3.938 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.8719, allocations: 9.297 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.8721, allocations: 378.1 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/0.8722, allocations: 178.5 kB / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.8722, allocations: 81.58 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.8723, allocations: 75.28 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.8723, allocations: 119.2 kB / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.8723, allocations: 0 / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.809e-05/0.8724, allocations: 25.7 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.8724, allocations: 127.9 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.8725, allocations: 96.52 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.8725, allocations: 27.64 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.8725, allocations: 80.27 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.8725, allocations: 4 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.8726, allocations: 15.33 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.8726, allocations: 310.8 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.8726, allocations: 0 / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.8726, allocations: 1.281 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/0.8727, allocations: 79.22 kB / 0.9522 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.8727, allocations: 75.28 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.149e-05/0.8727, allocations: 33.27 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8728, allocations: 84.28 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8728, allocations: 79.28 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/0.8728, allocations: 156.3 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.8728, allocations: 83.3 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.8729, allocations: 159.9 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.8729, allocations: 76.56 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.873, allocations: 80.31 kB / 0.953 GB, free: 5.824 MB / 0.7169 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 6.358e-05/0.873, allocations: 261.5 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.8731, allocations: 114 kB / 0.9534 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.8731, allocations: 117.2 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.8731, allocations: 181.4 kB / 0.9537 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/0.8732, allocations: 181.7 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.8732, allocations: 177.8 kB / 0.954 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.8734, allocations: 410.4 kB / 0.9544 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.8734, allocations: 101.9 kB / 0.9545 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.8734, allocations: 110 kB / 0.9546 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.867e-05/0.8734, allocations: 177.4 kB / 0.9548 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.8735, allocations: 181.6 kB / 0.9549 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.994e-05/0.8735, allocations: 189.6 kB / 0.9551 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/0.8735, allocations: 176.3 kB / 0.9553 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.352e-05/0.8736, allocations: 307.5 kB / 0.9556 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.8736, allocations: 195.6 kB / 0.9558 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.8737, allocations: 177.5 kB / 0.9559 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.8737, allocations: 102.2 kB / 0.956 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.8738, allocations: 181.3 kB / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.8738, allocations: 106.2 kB / 0.9563 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.278e-05/0.8738, allocations: 84.7 kB / 0.9564 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8738, allocations: 1.5 kB / 0.9564 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002762/0.8741, allocations: 0 / 0.9564 GB, free: 2.168 MB / 0.7169 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.0001418/0.8743, allocations: 176 kB / 0.9565 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.8743, allocations: 5.219 kB / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8743, allocations: 0 / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.8743, allocations: 1 kB / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.8746, allocations: 462.4 kB / 0.957 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.8748, allocations: 155.9 kB / 0.9571 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.8749, allocations: 0.6788 MB / 0.9578 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.454e-06/0.875, allocations: 0 / 0.9578 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.875, allocations: 7.438 kB / 0.9578 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.875, allocations: 0 / 0.9578 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of Templates: time 0.002014/0.877, allocations: 170 kB / 0.958 GB, free: 0.5664 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches