Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001729/0.001729, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001921/0.001921, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.56/1.56, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.88 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002052/1.206, allocations: 0.6783 MB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/1.207, allocations: 0.8102 MB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/1.207, allocations: 1 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/1.207, allocations: 0.7031 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/1.207, allocations: 4.812 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/1.207, allocations: 8.438 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/1.207, allocations: 19.88 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/1.207, allocations: 11.91 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/1.207, allocations: 12.77 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/1.207, allocations: 10.31 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/1.207, allocations: 5.906 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/1.207, allocations: 2.125 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/1.207, allocations: 10.31 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/1.207, allocations: 6.703 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.771e-05/1.208, allocations: 20.59 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.208, allocations: 1 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.208, allocations: 0 / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.208, allocations: 0 / 1.274 GB, free: 6.824 MB / 0.9981 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.00042/1.208, allocations: 335.6 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.208, allocations: 13.44 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/1.208, allocations: 5.734 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.208, allocations: 167.8 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/1.208, allocations: 1.031 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/1.208, allocations: 1.969 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/1.208, allocations: 53.45 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.208, allocations: 192 / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.208, allocations: 4.906 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/1.208, allocations: 0 / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/1.209, allocations: 36.89 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/1.209, allocations: 246.2 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.209, allocations: 44.12 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/1.209, allocations: 27.2 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.209, allocations: 1.922 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/1.209, allocations: 31.41 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.209, allocations: 0 / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003524/1.209, allocations: 89 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/1.209, allocations: 52.19 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/1.21, allocations: 101.9 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/1.21, allocations: 26.45 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/1.21, allocations: 89.14 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/1.21, allocations: 9.156 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.21, allocations: 11.41 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/1.21, allocations: 320.2 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/1.21, allocations: 16.06 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/1.21, allocations: 22.33 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.21, allocations: 39.48 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.21, allocations: 0 / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/1.21, allocations: 68.08 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.21, allocations: 8.453 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.21, allocations: 8.953 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.21, allocations: 0 / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/1.21, allocations: 8.516 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.21, allocations: 0 / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/1.21, allocations: 6.328 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.21, allocations: 0.8125 kB / 1.275 GB, free: 5.105 MB / 0.9981 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 4.199e-05/1.21, allocations: 116.6 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/1.21, allocations: 1.625 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/1.211, allocations: 73.77 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.211, allocations: 3.938 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.211, allocations: 0.5625 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.211, allocations: 0.8438 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/1.211, allocations: 158.7 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.211, allocations: 0 / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/1.211, allocations: 9.781 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.211, allocations: 1.156 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/1.211, allocations: 8.156 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.211, allocations: 0 / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.211, allocations: 1 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/1.211, allocations: 169.5 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/1.211, allocations: 79.25 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/1.211, allocations: 1 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/1.211, allocations: 13.8 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/1.211, allocations: 1.797 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/1.211, allocations: 2.453 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.104e-05/1.211, allocations: 84.69 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.211, allocations: 3.938 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002074/1.211, allocations: 2.875 kB / 1.276 GB, free: 4.402 MB / 0.9981 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.0001231/1.211, allocations: 98.06 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002229/1.212, allocations: 41.95 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.212, allocations: 0 / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/1.212, allocations: 18.75 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/1.212, allocations: 6.875 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/1.212, allocations: 122.3 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.911e-05/1.212, allocations: 0.6891 MB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.143e-05/1.212, allocations: 0.9375 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/1.212, allocations: 8.469 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.212, allocations: 0 / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of Templates: time 0.002879/1.215, allocations: 436.3 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.705880805850029]