Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0006973/0.0006973, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009367/0.001634, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006782/0.0006782, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001556, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.907/0.907, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08874/0.9957, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.847/1.847, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5219/2.369, allocations: 123.3 MB / 0.7281 GB, free: 5.793 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.28e-05, allocations: 4.703 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001655/0.001677, allocations: 0.9598 MB / 0.7303 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.002534, allocations: 0.9437 MB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.002596, allocations: 3.938 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.00263, allocations: 11.86 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.002689, allocations: 24.23 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.00282, allocations: 48.64 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.002938, allocations: 124.8 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003054, allocations: 42.34 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.003228, allocations: 103.7 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.003308, allocations: 36.39 kB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.003327, allocations: 12.72 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.003388, allocations: 16.67 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.003407, allocations: 23.88 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.003434, allocations: 29.66 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003575, allocations: 75.64 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.00359, allocations: 0 / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003591, allocations: 0 / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.003604, allocations: 4 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000392/0.003996, allocations: 344.9 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.004029, allocations: 8.531 kB / 0.7321 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.004204, allocations: 111.4 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.004335, allocations: 146 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.004344, allocations: 8.375 kB / 0.7323 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004354, allocations: 5.25 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004469, allocations: 88.97 kB / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004477, allocations: 0.7188 kB / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004488, allocations: 8.719 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004493, allocations: 4 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.004535, allocations: 19.98 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.004833, allocations: 241.6 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.004952, allocations: 51.02 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.004974, allocations: 16.84 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.004987, allocations: 1.062 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.005007, allocations: 38.56 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.005009, allocations: 0.5312 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001233/0.005132, allocations: 57.67 kB / 0.7328 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.005164, allocations: 52.53 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.005239, allocations: 145.7 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.005259, allocations: 29.7 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.005303, allocations: 112.8 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.005324, allocations: 20.36 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.005358, allocations: 29.64 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.005434, allocations: 319.8 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.005452, allocations: 11.98 kB / 0.7335 GB, free: 116 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.005471, allocations: 8.594 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.005513, allocations: 28.95 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005515, allocations: 0.875 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.593e-05/0.005591, allocations: 57.61 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.005605, allocations: 9.375 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00561, allocations: 0 / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.005618, allocations: 0 / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.005689, allocations: 15.98 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005692, allocations: 5.375 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.005721, allocations: 7.953 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.005728, allocations: 4 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.501e-05/0.005793, allocations: 118.4 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.00581, allocations: 8.547 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.005835, allocations: 9.938 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005838, allocations: 4 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00584, allocations: 0 / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.005843, allocations: 3.938 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.005946, allocations: 98.88 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.005949, allocations: 4 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.005986, allocations: 17.23 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.005995, allocations: 3.953 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005997, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006001, allocations: 4 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006002, allocations: 1.031 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.006004, allocations: 3.984 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.0061, allocations: 155.9 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.006117, allocations: 4 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.006157, allocations: 9.734 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.006194, allocations: 15.97 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006198, allocations: 4 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002112/0.00641, allocations: 34.45 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00641, allocations: 1.219 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001181/0.006528, allocations: 15.95 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.631e-05/0.006614, allocations: 85.11 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.00669, allocations: 41.42 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.006696, allocations: 0 / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.00672, allocations: 21.59 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.006871, allocations: 16.88 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.008038, allocations: 237.7 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.008073, allocations: 63.34 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.008111, allocations: 10.14 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.008167, allocations: 61.8 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of SimCode: time 1.163e-06/0.008169, allocations: 0 / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of Templates: time 0.002757/0.01093, allocations: 1.132 MB / 0.7358 GB, free: 13.78 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.725013506598771]