Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.025/3.025, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 3.938 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.614e-05, allocations: 6.219 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001872/0.001908, allocations: 0.662 MB / 1.001 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003018, allocations: 0.8432 MB / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.003053, allocations: 0 / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.003077, allocations: 0 / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.003152, allocations: 7.875 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.003321, allocations: 11.98 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.003393, allocations: 23.92 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.00348, allocations: 8 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.003559, allocations: 15.97 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.003594, allocations: 8 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003608, allocations: 0 / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.07e-05/0.003649, allocations: 4 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.003676, allocations: 11.92 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.003694, allocations: 4 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.857e-05/0.003793, allocations: 27.89 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003796, allocations: 4 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003797, allocations: 3.938 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.0038, allocations: 0 / 1.002 GB, free: 5.586 MB / 0.9512 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.0004698/0.00427, allocations: 262.3 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004308, allocations: 12.03 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.004396, allocations: 4.922 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.004533, allocations: 105.8 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004546, allocations: 384 / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004554, allocations: 384 / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.00474, allocations: 50.23 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004748, allocations: 192 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.004757, allocations: 384 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004761, allocations: 4.375 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.004942, allocations: 39.89 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.005256, allocations: 200.5 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.005397, allocations: 34.56 kB / 1.002 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.00549, allocations: 24.89 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.00551, allocations: 3.938 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.005544, allocations: 38.56 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.005547, allocations: 3.984 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.00593, allocations: 89.47 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.005977, allocations: 51.41 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.006073, allocations: 101.9 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.006092, allocations: 25.7 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.006143, allocations: 80.14 kB / 1.003 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.006163, allocations: 11.94 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.006197, allocations: 17.84 kB / 1.003 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006339, allocations: 310.8 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.006434, allocations: 15.98 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.006511, allocations: 15.98 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.006679, allocations: 44.81 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.00668, allocations: 0 / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.006892, allocations: 69.66 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.006908, allocations: 8 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.006917, allocations: 7.922 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.006933, allocations: 0 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.007018, allocations: 8 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.007026, allocations: 3.984 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.007073, allocations: 4 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007078, allocations: 4 kB / 1.003 GB, free: 3.789 MB / 0.9512 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.984e-05/0.007167, allocations: 110.4 kB / 1.003 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.00719, allocations: 0 / 1.003 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.007445, allocations: 84.83 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007447, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.00745, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007453, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.007603, allocations: 105.3 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007604, allocations: 0 / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.007662, allocations: 16.02 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007664, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007671, allocations: 3.938 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.007675, allocations: 3.938 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007675, allocations: 0 / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.007936, allocations: 159.5 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.007945, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.007959, allocations: 3.984 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.008041, allocations: 15.97 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.008101, allocations: 7.922 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.00811, allocations: 4 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.008155, allocations: 79.22 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.008155, allocations: 4 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002145/0.008369, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 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.0001272/0.008496, allocations: 95.25 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.008724, allocations: 43.95 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008726, allocations: 0 / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.008817, allocations: 15.98 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.009106, allocations: 0 / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.009405, allocations: 114.6 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.009477, allocations: 63.34 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.0095, allocations: 4 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.009529, allocations: 12.62 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.009529, allocations: 0 / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.003023/0.01255, allocations: 459.5 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.480392180383205]