Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008224/0.0008222, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006453/0.006454, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.564/1.564, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.027/3.027, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003968, allocations: 11.69 kB / 0.9028 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4399, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001207/0.4411, allocations: 400.5 kB / 1.059 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4424, allocations: 0.7962 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.4424, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.4424, allocations: 4 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.4425, allocations: 3.938 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.4427, allocations: 7.984 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.4427, allocations: 12 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4428, allocations: 19.98 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.4429, allocations: 15.86 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.4429, allocations: 7.984 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.443, allocations: 0 / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.443, allocations: 3.938 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.443, allocations: 7.938 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.443, allocations: 29.7 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.4431, allocations: 27.89 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4431, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.756e-06/0.4431, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4432, allocations: 4 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000421/0.4436, allocations: 327.8 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4436, allocations: 12.02 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.4437, allocations: 4.938 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4438, allocations: 172.2 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4438, allocations: 384 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4438, allocations: 4.375 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.444, allocations: 58.23 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.444, allocations: 192 / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.444, allocations: 3.938 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.444, allocations: 3.938 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4442, allocations: 47.95 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.4447, allocations: 245 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4449, allocations: 42.5 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.445, allocations: 32.84 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.445, allocations: 3.984 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4451, allocations: 38.5 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4451, allocations: 4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004159/0.4455, allocations: 93.64 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4455, allocations: 51.41 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.4456, allocations: 97.86 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4456, allocations: 29.83 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.4457, allocations: 84.14 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4457, allocations: 11.89 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.4457, allocations: 9.719 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4459, allocations: 310.8 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.446, allocations: 23.98 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.4461, allocations: 19.98 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.4462, allocations: 56.75 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4462, allocations: 0 / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.4464, allocations: 77.67 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4465, allocations: 4 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4465, allocations: 3.984 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4465, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.4466, allocations: 16.03 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4466, allocations: 0 / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.4467, allocations: 15.92 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4467, allocations: 0 / 1.062 GB, free: 2.031 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0001307/0.4468, allocations: 113.8 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.4468, allocations: 3.906 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.4471, allocations: 88.72 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4471, allocations: 3.984 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4471, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4471, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4474, allocations: 161.8 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4474, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.4475, allocations: 16.02 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4475, allocations: 7.984 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4475, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4475, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4475, allocations: 3.938 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.4478, allocations: 179.4 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.4478, allocations: 81.11 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.4478, allocations: 0 / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.4479, allocations: 7.984 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.448, allocations: 4 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.448, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001964/0.4482, allocations: 87.3 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4482, allocations: 0 / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002109/0.4484, allocations: 8 kB / 1.063 GB, free: 1.184 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0001631/0.4486, allocations: 95.25 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4488, allocations: 47.97 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4488, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4489, allocations: 27.91 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.4492, allocations: 15.81 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.4495, allocations: 112.8 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4498, allocations: 0.677 MB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.4498, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.4499, allocations: 11.44 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.4499, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of Templates: time 0.002308/0.4522, allocations: 376 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches