Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001646/0.001646, allocations: 107 kB / 16.39 MB, free: 6.488 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.00183/0.001831, allocations: 192.2 kB / 17.32 MB, free: 5.781 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 442.7 MB / 0.7167 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 67.89 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 153 MB / 1.177 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002169/1.037, allocations: 0.5494 MB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 3.958e-05/1.037, allocations: 0 / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/1.037, allocations: 0 / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/1.037, allocations: 3.938 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/1.037, allocations: 0 / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 3.725e-05/1.037, allocations: 8 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/1.038, allocations: 0 / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/1.038, allocations: 3.984 kB / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/1.038, allocations: 0 / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.05e-05/1.038, allocations: 11.98 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/1.038, allocations: 0 / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/1.038, allocations: 0 / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/1.038, allocations: 0 / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/1.038, allocations: 3.938 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/1.038, allocations: 4 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.038, allocations: 0 / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.038, allocations: 0 / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.038, allocations: 4 kB / 1.177 GB, free: 10.11 MB / 0.9044 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.0003391/1.038, allocations: 311.5 kB / 1.178 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.038, allocations: 16.06 kB / 1.178 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/1.038, allocations: 0.9375 kB / 1.178 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/1.038, allocations: 160.4 kB / 1.178 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.038, allocations: 384 / 1.178 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/1.038, allocations: 384 / 1.178 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/1.039, allocations: 34.2 kB / 1.178 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.039, allocations: 192 / 1.178 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.039, allocations: 3.938 kB / 1.178 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.039, allocations: 0 / 1.178 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/1.039, allocations: 11.98 kB / 1.178 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/1.039, allocations: 375.5 kB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/1.039, allocations: 177 kB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/1.039, allocations: 80.14 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/1.039, allocations: 83.31 kB / 1.179 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/1.039, allocations: 105.8 kB / 1.179 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.039, allocations: 0 / 1.179 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.644e-05/1.039, allocations: 29.61 kB / 1.179 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.039, allocations: 51.41 kB / 1.179 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.04, allocations: 101.8 kB / 1.179 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.04, allocations: 29.64 kB / 1.179 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/1.04, allocations: 88.2 kB / 1.179 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/1.04, allocations: 0 / 1.179 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/1.04, allocations: 17.7 kB / 1.179 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.04, allocations: 310.8 kB / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/1.04, allocations: 0 / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/1.04, allocations: 0 / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/1.04, allocations: 75.28 kB / 1.179 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-05/1.04, allocations: 75.28 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.863e-05/1.04, allocations: 41.64 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/1.04, allocations: 81.16 kB / 1.18 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/1.04, allocations: 79.22 kB / 1.18 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.116e-05/1.04, allocations: 158.6 kB / 1.18 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.14e-05/1.04, allocations: 83.2 kB / 1.18 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.484e-05/1.04, allocations: 154.5 kB / 1.18 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/1.04, allocations: 75.28 kB / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.04, allocations: 91.22 kB / 1.18 GB, free: 7.035 MB / 0.9044 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.0001279/1.041, allocations: 260.4 kB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/1.041, allocations: 104.9 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/1.041, allocations: 116 kB / 1.181 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.529e-05/1.041, allocations: 176.3 kB / 1.181 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/1.041, allocations: 105 kB / 1.181 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/1.041, allocations: 182 kB / 1.181 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/1.041, allocations: 184.3 kB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/1.041, allocations: 108.9 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/1.041, allocations: 176.3 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001196/1.041, allocations: 263.5 kB / 1.182 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001658/1.041, allocations: 379 kB / 1.182 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.47e-05/1.042, allocations: 117.3 kB / 1.182 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.541e-05/1.042, allocations: 75.28 kB / 1.182 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of Backend: time 6.12e-07/1.042, allocations: 0 / 1.182 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003681/1.042, allocations: 81.03 kB / 1.182 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005846/1.043, allocations: 0.8969 MB / 1.183 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.002318/1.045, allocations: 184.7 kB / 1.183 GB, free: 3.5 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches