Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001037/0.001037, allocations: 192.3 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.17 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.738/2.738, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00194/1.049, allocations: 0.5886 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.667e-05/1.049, allocations: 4 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/1.049, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/1.049, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/1.049, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-05/1.049, allocations: 3.984 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.821e-05/1.049, allocations: 3.938 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/1.049, allocations: 7.938 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/1.049, allocations: 4 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/1.049, allocations: 3.938 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/1.049, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/1.049, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/1.049, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/1.049, allocations: 4 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/1.049, allocations: 7.984 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.049, allocations: 0 / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/1.049, allocations: 3.938 kB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.05, allocations: 0 / 1.168 GB, free: 3.199 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.0004721/1.05, allocations: 315.6 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/1.05, allocations: 8.031 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/1.05, allocations: 0.9375 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/1.05, allocations: 160.4 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.05, allocations: 384 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.05, allocations: 4.375 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/1.05, allocations: 34.25 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.05, allocations: 192 / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.051, allocations: 3.938 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/1.051, allocations: 4 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/1.051, allocations: 7.938 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/1.051, allocations: 383.5 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/1.051, allocations: 169.1 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/1.051, allocations: 80.14 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/1.051, allocations: 79.28 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/1.051, allocations: 109.8 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/1.051, allocations: 0 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001086/1.051, allocations: 29.7 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.052, allocations: 51.41 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.052, allocations: 93.86 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/1.052, allocations: 37.81 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/1.052, allocations: 80.14 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.052, allocations: 0 / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/1.052, allocations: 9.719 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.052, allocations: 310.8 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/1.052, allocations: 0 / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/1.052, allocations: 0 / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/1.052, allocations: 79.28 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/1.052, allocations: 87.22 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.115e-05/1.052, allocations: 36 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/1.052, allocations: 83.28 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/1.052, allocations: 75.28 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.529e-05/1.052, allocations: 162.5 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/1.052, allocations: 79.22 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.8e-05/1.052, allocations: 162.4 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/1.053, allocations: 79.28 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/1.053, allocations: 75.28 kB / 1.171 GB, free: 140 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.0001619/1.053, allocations: 260.4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/1.053, allocations: 112.9 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/1.053, allocations: 108.1 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.181e-05/1.053, allocations: 184.2 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-05/1.053, allocations: 101 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/1.053, allocations: 186.1 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/1.053, allocations: 184.2 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/1.053, allocations: 101 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/1.053, allocations: 184.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001094/1.053, allocations: 263.5 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002379/1.054, allocations: 383 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.874e-05/1.054, allocations: 105.3 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.227e-05/1.054, allocations: 79.28 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/1.054, allocations: 4.094 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004472/1.054, allocations: 78.34 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006655/1.055, allocations: 0.9046 MB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.002659/1.058, allocations: 187.4 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches