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.001749/0.001749, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002003/0.002003, allocations: 202.9 kB / 22.17 MB, free: 5.207 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.819/2.819, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.002062/0.002062, allocations: 67.91 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9593, allocations: 168.7 MB / 1.274 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002268/0.9616, allocations: 0.6655 MB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.9626, allocations: 0.8118 MB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.9627, allocations: 3.938 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.9627, allocations: 0 / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.9628, allocations: 3.938 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.9629, allocations: 7.984 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.963, allocations: 27.97 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.9631, allocations: 3.938 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.9632, allocations: 15.92 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.9632, allocations: 8 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.9632, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.9633, allocations: 4 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.9633, allocations: 11.92 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.9633, allocations: 8 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.9634, allocations: 23.89 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9634, allocations: 0 / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9634, allocations: 3.938 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.9634, allocations: 0 / 1.276 GB, free: 2.75 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.0005563/0.964, allocations: 338.1 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.964, allocations: 12.03 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.964, allocations: 8.891 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.9642, allocations: 160.4 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.9642, allocations: 4.359 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.9642, allocations: 4.375 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.9644, allocations: 50.19 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9644, allocations: 192 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.9645, allocations: 3.938 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9645, allocations: 0 / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.9646, allocations: 39.95 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.965, allocations: 248.9 kB / 1.276 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.9652, allocations: 38.53 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.9653, allocations: 24.84 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.9653, allocations: 3.984 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9653, allocations: 34.56 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.9653, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003786/0.9657, allocations: 81.64 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.9658, allocations: 51.41 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.9659, allocations: 105.8 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.9659, allocations: 29.83 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.9659, allocations: 84.09 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.9659, allocations: 7.891 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.966, allocations: 17.72 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9661, allocations: 310.8 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.9662, allocations: 19.91 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.9663, allocations: 19.98 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9665, allocations: 36.89 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9665, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.9667, allocations: 69.59 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.9667, allocations: 4 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9667, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9667, allocations: 4.031 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.9668, allocations: 15.98 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.9668, allocations: 0 / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.9668, allocations: 7.984 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.9668, allocations: 3.938 kB / 1.277 GB, free: 0.7227 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 8.584e-05/0.9669, allocations: 117.8 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.967, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.9672, allocations: 76.78 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.9672, allocations: 3.938 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9672, allocations: 0 / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9672, allocations: 0 / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.9674, allocations: 161.6 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9674, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.9674, allocations: 8 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9674, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.9674, allocations: 7.922 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9674, allocations: 0 / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9674, allocations: 4.031 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.9677, allocations: 167.3 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.9678, allocations: 77.11 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.9678, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.9678, allocations: 8 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.9679, allocations: 12.06 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.9679, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.968, allocations: 79.28 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.968, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002163/0.9682, allocations: 4 kB / 1.278 GB, free: 15.91 MB / 0.9825 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.0001515/0.9683, allocations: 95.78 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.9686, allocations: 47.84 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9686, allocations: 4 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.9686, allocations: 11.98 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.9689, allocations: 9.656 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.9693, allocations: 125.4 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.9696, allocations: 0.6768 MB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.9696, allocations: 8.125 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.9697, allocations: 7.438 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9697, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of Templates: time 0.002899/0.9726, allocations: 441.4 kB / 1.279 GB, free: 14.45 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.05972618702799]