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.008002/0.008002, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001702/0.001702, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189/1.19, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001803/1.192, allocations: 0.5972 MB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.58e-05/1.192, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/1.192, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/1.192, allocations: 3.938 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.152e-05/1.192, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.195e-05/1.192, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/1.192, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/1.192, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/1.192, allocations: 3.938 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.025e-05/1.192, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/1.192, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-06/1.192, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/1.192, allocations: 4 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/1.192, allocations: 0 / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.735e-05/1.192, allocations: 11.97 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.192, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.459e-06/1.192, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.192, allocations: 3.938 kB / 1.208 GB, free: 12.99 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.0003406/1.193, allocations: 317.6 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.193, allocations: 8.031 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/1.193, allocations: 4.938 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.193, allocations: 164.4 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/1.193, allocations: 384 / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.193, allocations: 384 / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/1.193, allocations: 30.2 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.193, allocations: 4.188 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/1.193, allocations: 7.938 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.193, allocations: 0 / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/1.193, allocations: 4 kB / 1.209 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/1.193, allocations: 379.5 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.194, allocations: 173 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/1.194, allocations: 84.14 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/1.194, allocations: 75.28 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.194, allocations: 109.9 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.194, allocations: 0 / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.286e-05/1.194, allocations: 25.7 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.194, allocations: 130.7 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/1.194, allocations: 105.8 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.194, allocations: 25.7 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/1.194, allocations: 80.14 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/1.194, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/1.194, allocations: 13.66 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.194, allocations: 314.8 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/1.194, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/1.194, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/1.194, allocations: 79.41 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/1.194, allocations: 75.28 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/1.194, allocations: 45.53 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.194, allocations: 79.28 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/1.194, allocations: 79.25 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.839e-05/1.195, allocations: 154.6 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/1.195, allocations: 83.22 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.416e-05/1.195, allocations: 154.6 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/1.195, allocations: 79.22 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.195, allocations: 79.22 kB / 1.211 GB, free: 9.855 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.0001444/1.195, allocations: 272.3 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.195, allocations: 105 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/1.195, allocations: 108 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.248e-05/1.195, allocations: 184.3 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/1.195, allocations: 176.3 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.557e-05/1.195, allocations: 188.2 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.195, allocations: 401.2 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.306e-05/1.196, allocations: 104.9 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/1.196, allocations: 109 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-05/1.196, allocations: 176.3 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/1.196, allocations: 192.2 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.298e-05/1.196, allocations: 176.3 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.527e-05/1.196, allocations: 184.2 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/1.196, allocations: 312.1 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/1.196, allocations: 182 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/1.196, allocations: 180.3 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/1.196, allocations: 112.9 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/1.196, allocations: 176.3 kB / 1.214 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/1.196, allocations: 105 kB / 1.214 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.181e-05/1.196, allocations: 87.22 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.196, allocations: 0 / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002814/1.197, allocations: 0 / 1.215 GB, free: 6.176 MB / 0.9356 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.0001605/1.197, allocations: 174.5 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.365e-05/1.197, allocations: 0 / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.197, allocations: 4.094 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.197, allocations: 0 / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/1.197, allocations: 459.6 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/1.198, allocations: 164.2 kB / 1.215 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/1.198, allocations: 0.669 MB / 1.216 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.235e-06/1.198, allocations: 3.938 kB / 1.216 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/1.198, allocations: 11.44 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of SimCode: time 1.8e-07/1.198, allocations: 0 / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.001964/1.2, allocations: 160.8 kB / 1.216 GB, free: 4.48 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/jenkins/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