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.009186/0.009186, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.00177/0.00177, allocations: 191.7 kB / 16.68 MB, free: 5.969 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.709/1.709, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.747/2.747, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 68.11 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001786/1.151, allocations: 0.5669 MB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 3.984e-05/1.151, allocations: 3.938 kB / 1.167 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/1.151, allocations: 0 / 1.167 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/1.151, allocations: 4 kB / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/1.151, allocations: 0 / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.879e-05/1.151, allocations: 3.938 kB / 1.167 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.284e-05/1.151, allocations: 0 / 1.167 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/1.151, allocations: 7.984 kB / 1.167 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/1.151, allocations: 4 kB / 1.167 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.071e-05/1.151, allocations: 4 kB / 1.167 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/1.151, allocations: 3.984 kB / 1.167 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/1.151, allocations: 0 / 1.167 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/1.151, allocations: 0 / 1.167 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/1.151, allocations: 0 / 1.167 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.976e-05/1.151, allocations: 3.938 kB / 1.167 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.151, allocations: 4 kB / 1.167 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/1.151, allocations: 0 / 1.167 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.799e-06/1.151, allocations: 0 / 1.167 GB, free: 3.246 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.0003/1.152, allocations: 317.5 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/1.152, allocations: 16.89 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/1.152, allocations: 0.9375 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/1.152, allocations: 164.4 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/1.152, allocations: 384 / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/1.152, allocations: 384 / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/1.152, allocations: 30.27 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/1.152, allocations: 192 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.152, allocations: 3.938 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/1.152, allocations: 4 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/1.152, allocations: 0 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/1.152, allocations: 383.5 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/1.152, allocations: 173.1 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/1.153, allocations: 84.08 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.153, allocations: 83.27 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.153, allocations: 109.8 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.153, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.857e-05/1.153, allocations: 33.62 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.153, allocations: 126.7 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/1.153, allocations: 97.86 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/1.153, allocations: 25.7 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/1.153, allocations: 84.14 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/1.153, allocations: 0 / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/1.153, allocations: 13.72 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/1.153, allocations: 314.8 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/1.153, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-06/1.153, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/1.153, allocations: 75.28 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/1.153, allocations: 83.41 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.496e-05/1.153, allocations: 36.03 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/1.153, allocations: 83.22 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.153, allocations: 79.31 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.952e-05/1.153, allocations: 154.6 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/1.153, allocations: 79.22 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.885e-05/1.153, allocations: 158.5 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/1.153, allocations: 91.22 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/1.154, allocations: 75.28 kB / 1.17 GB, free: 100 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.0001297/1.154, allocations: 260.3 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/1.154, allocations: 105 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/1.154, allocations: 108 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-05/1.154, allocations: 188.2 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.551e-05/1.154, allocations: 180.2 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/1.154, allocations: 180.3 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/1.154, allocations: 405.1 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-05/1.154, allocations: 105 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/1.154, allocations: 101 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-05/1.154, allocations: 188.2 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/1.154, allocations: 176.3 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.597e-05/1.155, allocations: 184.2 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/1.155, allocations: 180.3 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/1.155, allocations: 312.1 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/1.155, allocations: 186.1 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/1.155, allocations: 180.2 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/1.155, allocations: 105 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.155, allocations: 180.3 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/1.155, allocations: 116.9 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.106e-05/1.155, allocations: 75.28 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.155, allocations: 0 / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002414/1.155, allocations: 0 / 1.173 GB, free: 12.43 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.0001594/1.156, allocations: 178.5 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.286e-05/1.156, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.156, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/1.156, allocations: 4.094 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/1.156, allocations: 467.6 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/1.156, allocations: 151 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/1.157, allocations: 0.6729 MB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.356e-06/1.157, allocations: 7.938 kB / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/1.157, allocations: 7.438 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.157, allocations: 4 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.001968/1.159, allocations: 160.9 kB / 1.175 GB, free: 10.73 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/jenkins/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