Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001244/0.001244, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001366/0.001366, 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001647, allocations: 67.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002445/1.047, allocations: 0.578 MB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.258e-05/1.048, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/1.048, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/1.048, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/1.048, allocations: 4 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.909e-05/1.048, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/1.048, allocations: 7.938 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/1.048, allocations: 7.984 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/1.048, allocations: 7.922 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-06/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.904e-05/1.048, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.048, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.11e-06/1.048, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.048, allocations: 3.938 kB / 1.209 GB, free: 12.97 MB / 0.9356 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.0003563/1.048, allocations: 319.6 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.049, allocations: 8.031 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/1.049, allocations: 0.9375 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.049, allocations: 164.4 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/1.049, allocations: 384 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/1.049, allocations: 4.375 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/1.049, allocations: 30.27 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.049, allocations: 192 / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.049, allocations: 3.938 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.049, allocations: 0 / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/1.049, allocations: 11.92 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/1.049, allocations: 375.5 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/1.049, allocations: 185.1 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/1.049, allocations: 80.14 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/1.049, allocations: 79.22 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/1.05, allocations: 105.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.05, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.169e-05/1.05, allocations: 29.7 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.05, allocations: 55.41 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.05, allocations: 93.86 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.05, allocations: 29.7 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/1.05, allocations: 80.14 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/1.05, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.05, allocations: 13.7 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.05, allocations: 310.8 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-06/1.05, allocations: 4.125 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-06/1.05, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/1.05, allocations: 83.22 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/1.05, allocations: 75.28 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.981e-05/1.05, allocations: 33.55 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/1.05, allocations: 84.84 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/1.05, allocations: 79.28 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.86e-05/1.05, allocations: 158.5 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.657e-05/1.05, allocations: 83.27 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.086e-05/1.05, allocations: 158.5 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/1.051, allocations: 79.22 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/1.051, allocations: 75.28 kB / 1.212 GB, free: 9.906 MB / 0.9356 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.0001195/1.051, allocations: 256.4 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/1.051, allocations: 120.9 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/1.051, allocations: 108.1 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/1.051, allocations: 180.2 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/1.051, allocations: 101 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/1.051, allocations: 182.1 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/1.051, allocations: 180.2 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/1.051, allocations: 113 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/1.051, allocations: 184.2 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001034/1.051, allocations: 255.5 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001792/1.052, allocations: 379 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.865e-05/1.052, allocations: 113.3 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.784e-05/1.052, allocations: 79.28 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of Backend: time 8.01e-07/1.052, allocations: 0 / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000355/1.052, allocations: 82.33 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000552/1.053, allocations: 0.9046 MB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.002419/1.055, allocations: 176.8 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches