Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 249.9 MB, free: 3.184 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.99/2.99, allocations: 476.7 MB / 0.7634 GB, free: 15.34 MB / 0.6075 GB [Timeout remaining time 86] 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.89 kB / 1.108 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9607, allocations: 168.7 MB / 1.272 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001976/0.9627, allocations: 0.7175 MB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.9636, allocations: 0.8082 MB / 1.274 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.9637, allocations: 4.594 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.9637, allocations: 9.391 kB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.9638, allocations: 5.25 kB / 1.274 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.9639, allocations: 14.81 kB / 1.274 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.964, allocations: 42.41 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.9641, allocations: 13.36 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.9642, allocations: 14.88 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.9642, allocations: 21.75 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.9643, allocations: 3.844 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.9643, allocations: 3.281 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.9643, allocations: 19.3 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.9643, allocations: 17.41 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.9645, allocations: 43.08 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9645, allocations: 1.172 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9645, allocations: 0.8438 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.9645, allocations: 0 / 1.274 GB, free: 6.793 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004748/0.9649, allocations: 363.8 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.965, allocations: 9.062 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.965, allocations: 7.688 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.9651, allocations: 172.2 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9651, allocations: 1.875 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.9651, allocations: 2.188 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.9654, allocations: 70.59 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9654, allocations: 192 / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.9654, allocations: 3.938 kB / 1.275 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9654, allocations: 1 kB / 1.275 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.9657, allocations: 70 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.966, allocations: 267.9 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.9662, allocations: 54.92 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.9663, allocations: 39.31 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9664, allocations: 0 / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.9664, allocations: 39.47 kB / 1.275 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9664, allocations: 1.094 kB / 1.275 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005391/0.9669, allocations: 127.9 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.967, allocations: 52.12 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.967, allocations: 110.2 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.967, allocations: 26.27 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.9671, allocations: 89.72 kB / 1.276 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.9671, allocations: 9.578 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.9671, allocations: 18 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.9672, allocations: 317.6 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.9673, allocations: 30.34 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.9675, allocations: 38.66 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.9677, allocations: 72.86 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9677, allocations: 4.844 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.968, allocations: 97.27 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9681, allocations: 5.75 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9681, allocations: 0 / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.9681, allocations: 0.8438 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.9682, allocations: 19.47 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.9682, allocations: 0.875 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.9683, allocations: 16.08 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.9683, allocations: 0.9688 kB / 1.276 GB, free: 5.02 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 (3): * Single equations (assignments): 3 * 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 5.704e-05/0.9684, allocations: 120.9 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.9684, allocations: 2 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.9687, allocations: 113 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9687, allocations: 0.9688 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9687, allocations: 0 / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9687, allocations: 1.094 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.9689, allocations: 174.9 kB / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9689, allocations: 0 / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.969, allocations: 15.38 kB / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.969, allocations: 3.812 kB / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.969, allocations: 0 / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.969, allocations: 5.062 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.969, allocations: 0 / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.9693, allocations: 201.5 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.9693, allocations: 78.7 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.9694, allocations: 0.7188 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9695, allocations: 15.94 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.9695, allocations: 4.016 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.9695, allocations: 0.7812 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.9695, allocations: 87.52 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9695, allocations: 1 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002124/0.9697, allocations: 6.375 kB / 1.277 GB, free: 4.297 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 (3): * Single equations (assignments): 3 * 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.0001185/0.9699, allocations: 103.2 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.9702, allocations: 71.02 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9702, allocations: 0.6562 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.9703, allocations: 36.75 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.9706, allocations: 14.61 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.9709, allocations: 159.6 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.971, allocations: 0.6861 MB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.9711, allocations: 9.719 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9711, allocations: 0 / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of Templates: time 0.002296/0.9734, allocations: 0.7455 MB / 1.279 GB, free: 3.266 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches