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.006558/0.006558, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001127/0.001127, allocations: 193.3 kB / 16.67 MB, free: 6.379 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.538/1.538, 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 2.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.25 kB / 0.9509 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 140.4 MB / 1.088 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001702/0.3588, allocations: 0.5445 MB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.407e-05/0.3589, allocations: 0 / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.3589, allocations: 4 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.3589, allocations: 7.875 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.359, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.648e-05/0.359, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.3591, allocations: 4 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.3592, allocations: 7.938 kB / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.3592, allocations: 4 kB / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.956e-05/0.3592, allocations: 0 / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3592, allocations: 0 / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-06/0.3592, allocations: 0 / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3594, allocations: 3.984 kB / 1.089 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.3594, allocations: 0 / 1.089 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.688e-05/0.3595, allocations: 15.92 kB / 1.089 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3595, allocations: 0 / 1.089 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3595, allocations: 0 / 1.089 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3595, allocations: 0 / 1.089 GB, free: 1.031 MB / 0.8419 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.0003268/0.3598, allocations: 315.6 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3599, allocations: 8.031 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.3599, allocations: 0.9375 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.36, allocations: 164.4 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.36, allocations: 384 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3601, allocations: 4.375 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.3601, allocations: 30.2 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3602, allocations: 192 / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3602, allocations: 3.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3602, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.3602, allocations: 7.984 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3606, allocations: 375.5 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.3607, allocations: 181 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.3607, allocations: 80.14 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3608, allocations: 79.28 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.3608, allocations: 105.8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3608, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.071e-05/0.3609, allocations: 26.08 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.361, allocations: 130.7 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.3611, allocations: 101.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3611, allocations: 33.83 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.3611, allocations: 80.14 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3611, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.3612, allocations: 9.719 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3613, allocations: 310.8 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.3613, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.3613, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.3613, allocations: 79.28 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/0.3614, allocations: 83.22 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.119e-05/0.3614, allocations: 29.64 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.3615, allocations: 87.27 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.3615, allocations: 87.16 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.986e-05/0.3616, allocations: 154.6 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.628e-05/0.3616, allocations: 75.28 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.076e-05/0.3617, allocations: 158.5 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.3617, allocations: 80.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.3618, allocations: 79.22 kB / 1.091 GB, free: 13.89 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 (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.0001149/0.3619, allocations: 260.3 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.362, allocations: 113 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.362, allocations: 108 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/0.3621, allocations: 180.3 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-05/0.3622, allocations: 176.3 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.644e-05/0.3622, allocations: 184.2 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.3625, allocations: 405.2 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/0.3625, allocations: 104.9 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.3626, allocations: 105 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.3626, allocations: 188.2 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.3627, allocations: 180.2 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.3628, allocations: 176.6 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.804e-05/0.3628, allocations: 188.2 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.363, allocations: 315.7 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.3631, allocations: 186 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.3631, allocations: 176.3 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.3632, allocations: 104.9 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3633, allocations: 184.2 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.3633, allocations: 101 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.3634, allocations: 79.28 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3634, allocations: 3.938 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002538/0.3637, allocations: 4 kB / 1.095 GB, free: 10.22 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 (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.0001461/0.3638, allocations: 171.1 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.299e-05/0.3639, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3639, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.3639, allocations: 8.094 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3643, allocations: 459.6 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.3645, allocations: 156.3 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3648, allocations: 0.669 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.837e-06/0.3648, allocations: 0 / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.3648, allocations: 11.38 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3648, allocations: 4 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.001883/0.3667, allocations: 170.5 kB / 1.096 GB, free: 8.52 MB / 0.8575 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