Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 63.89 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8685, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002017/0.8705, allocations: 0.6732 MB / 1.275 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.8716, allocations: 0.8079 MB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.8716, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.8717, allocations: 0 / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.8717, allocations: 7.938 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.8719, allocations: 11.98 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.872, allocations: 19.94 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.8721, allocations: 15.97 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.8722, allocations: 7.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.8722, allocations: 7.984 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.8723, allocations: 4 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.8723, allocations: 0 / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.8723, allocations: 7.938 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.8723, allocations: 8 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.8724, allocations: 19.91 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8724, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8724, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8725, allocations: 4 kB / 1.276 GB, free: 2.59 MB / 0.9669 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.0006009/0.8731, allocations: 264.7 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8731, allocations: 8.031 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.8731, allocations: 4.891 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8733, allocations: 118.5 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.8733, allocations: 384 / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.8733, allocations: 384 / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.8735, allocations: 54.23 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8735, allocations: 192 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8735, allocations: 7.922 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8735, allocations: 4 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.8737, allocations: 27.97 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.874, allocations: 216 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.8742, allocations: 46.44 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.8743, allocations: 24.91 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.8743, allocations: 3.938 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.8743, allocations: 30.56 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8743, allocations: 3.938 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.8747, allocations: 85.64 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.8747, allocations: 55.34 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.8748, allocations: 101.8 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.8749, allocations: 25.7 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.8749, allocations: 92.03 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.875, allocations: 3.953 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.875, allocations: 9.719 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8752, allocations: 327 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.8753, allocations: 11.98 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.8753, allocations: 15.98 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.8755, allocations: 40.81 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8755, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.8757, allocations: 77.61 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8757, allocations: 6.031 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8757, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8757, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.8758, allocations: 11.98 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8758, allocations: 0 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.8759, allocations: 7.984 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.8759, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 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 9.962e-05/0.876, allocations: 124 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.876, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.8763, allocations: 64.97 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8763, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8763, allocations: 4 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8763, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.8765, allocations: 132.7 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8765, allocations: 7.969 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.8765, allocations: 11.98 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.8765, allocations: 4 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.8765, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8765, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8765, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.8768, allocations: 171.3 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.8768, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.8768, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.8769, allocations: 11.98 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.877, allocations: 4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.877, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.877, allocations: 79.28 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.877, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002107/0.8772, allocations: 7.938 kB / 1.278 GB, free: 80 kB / 0.9669 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.0001554/0.8774, allocations: 103.2 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8776, allocations: 35.97 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8776, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.8777, allocations: 15.98 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.878, allocations: 16.05 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.8784, allocations: 109.5 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.8788, allocations: 0.6729 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.8788, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.8788, allocations: 7.766 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8788, allocations: 3.938 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.002895/0.8817, allocations: 463.4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.310981153510511]