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.002074/0.002073, allocations: 111.6 kB / 16.42 MB, free: 6.512 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.002436/0.002436, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.502/1.502, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.617/2.617, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, 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.002125/1.147, allocations: 0.5468 MB / 1.168 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.309e-05/1.148, allocations: 4 kB / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/1.148, allocations: 0 / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/1.148, allocations: 0 / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.88e-05/1.148, allocations: 0 / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.095e-05/1.148, allocations: 4 kB / 1.168 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/1.148, allocations: 3.938 kB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/1.148, allocations: 4 kB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/1.148, allocations: 0 / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.96e-05/1.148, allocations: 7.938 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/1.148, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-06/1.148, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/1.148, allocations: 4 kB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/1.148, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/1.148, allocations: 3.938 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.148, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.51e-06/1.148, allocations: 3.984 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.148, allocations: 0 / 1.168 GB, free: 3.285 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.0003291/1.148, allocations: 315.5 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.148, allocations: 8.953 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/1.148, allocations: 8.938 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.149, allocations: 164.4 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.149, allocations: 384 / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/1.149, allocations: 4.359 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/1.149, allocations: 30.27 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/1.149, allocations: 192 / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.149, allocations: 3.938 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.149, allocations: 0 / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/1.149, allocations: 0 / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/1.149, allocations: 391.4 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/1.149, allocations: 169.1 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/1.149, allocations: 80.14 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/1.149, allocations: 79.28 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.149, allocations: 113.9 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.149, allocations: 0 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/1.15, allocations: 29.64 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/1.15, allocations: 51.41 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/1.15, allocations: 97.84 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/1.15, allocations: 25.7 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/1.15, allocations: 84.14 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/1.15, allocations: 0 / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/1.15, allocations: 13.84 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/1.15, allocations: 314.8 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/1.15, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/1.15, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/1.15, allocations: 75.28 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/1.15, allocations: 75.28 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.908e-05/1.15, allocations: 43.94 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.15, allocations: 79.28 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.15, allocations: 87.2 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.116e-05/1.15, allocations: 158.6 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.596e-05/1.15, allocations: 87.16 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.112e-05/1.15, allocations: 150.6 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/1.15, allocations: 79.22 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/1.15, allocations: 79.28 kB / 1.171 GB, free: 220 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.0001331/1.15, allocations: 260.4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/1.151, allocations: 108.9 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/1.151, allocations: 116 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/1.151, allocations: 180.3 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.026e-05/1.151, allocations: 104.9 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/1.151, allocations: 178.1 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/1.151, allocations: 188.2 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/1.151, allocations: 104.9 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/1.151, allocations: 176.3 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001025/1.151, allocations: 263.4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001935/1.151, allocations: 383 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.879e-05/1.151, allocations: 109.3 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.231e-05/1.151, allocations: 79.28 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Backend: time 1.8e-07/1.152, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003492/1.152, allocations: 78.41 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005219/1.152, allocations: 0.9086 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002124/1.155, allocations: 182.6 kB / 1.174 GB, free: 12.66 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