Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_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_10_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.008501/0.008501, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.00211/0.00211, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 151.6 MB / 1.167 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00182/1.105, allocations: 0.6653 MB / 1.167 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001155/1.106, allocations: 0.8117 MB / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/1.106, allocations: 0 / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/1.106, allocations: 0 / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/1.106, allocations: 3.938 kB / 1.168 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/1.106, allocations: 4 kB / 1.168 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/1.106, allocations: 23.92 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/1.106, allocations: 19.98 kB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/1.106, allocations: 0 / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/1.106, allocations: 15.92 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/1.106, allocations: 4 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/1.106, allocations: 0 / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/1.107, allocations: 4 kB / 1.168 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/1.107, allocations: 11.92 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.539e-05/1.107, allocations: 23.91 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.107, allocations: 0 / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/1.107, allocations: 0 / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.88e-06/1.107, allocations: 3.938 kB / 1.168 GB, free: 2.367 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000603/1.107, allocations: 340.4 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.107, allocations: 12.92 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/1.107, allocations: 4.922 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.108, allocations: 168.3 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.108, allocations: 4.375 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/1.108, allocations: 384 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/1.108, allocations: 50.23 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.108, allocations: 192 / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.108, allocations: 7.938 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/1.108, allocations: 0 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/1.108, allocations: 35.95 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/1.108, allocations: 249 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.108, allocations: 48.88 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/1.108, allocations: 20.91 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.108, allocations: 0 / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.109, allocations: 38.55 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.109, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000317/1.109, allocations: 77.69 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.109, allocations: 59.39 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/1.109, allocations: 97.86 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.109, allocations: 29.64 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/1.109, allocations: 84.14 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/1.109, allocations: 11.89 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/1.109, allocations: 13.7 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.109, allocations: 310.8 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/1.109, allocations: 24.02 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/1.109, allocations: 11.98 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/1.11, allocations: 44.81 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.11, allocations: 0 / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/1.11, allocations: 73.56 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.11, allocations: 11.98 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.11, allocations: 0 / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.11, allocations: 0 / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/1.11, allocations: 4 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.11, allocations: 4 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/1.11, allocations: 7.984 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/1.11, allocations: 4 kB / 1.17 GB, free: 340 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 (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 7.172e-05/1.11, allocations: 113.8 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/1.11, allocations: 0 / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/1.11, allocations: 72.78 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.11, allocations: 3.984 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.11, allocations: 7.875 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/1.11, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/1.11, allocations: 157.6 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.11, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/1.111, allocations: 16.02 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.111, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/1.111, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.111, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.111, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/1.111, allocations: 163.5 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/1.111, allocations: 89.09 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/1.111, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/1.111, allocations: 7.984 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.111, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/1.111, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.968e-05/1.111, allocations: 91.2 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.853e-06/1.111, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002115/1.111, allocations: 7.938 kB / 1.171 GB, free: 15.51 MB / 0.9044 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.0001376/1.111, allocations: 103.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.112, allocations: 31.97 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.112, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/1.112, allocations: 23.97 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/1.112, allocations: 3.938 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/1.112, allocations: 103.1 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/1.113, allocations: 0.6729 MB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.183e-05/1.113, allocations: 7.922 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/1.113, allocations: 11.44 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/1.113, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.002431/1.115, allocations: 450.4 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches