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.0008314/0.0008314, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001944, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006911/0.0006911, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001673, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8804/0.8804, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0902/0.9706, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.861/1.861, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4622/2.323, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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 2.204e-06/2.204e-06, allocations: 0.6562 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.294e-05, allocations: 6.562 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002617/0.00264, allocations: 0.9592 MB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003962, allocations: 0.9513 MB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.004035, allocations: 0.6875 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.004079, allocations: 11.86 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.004161, allocations: 19.42 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.004352, allocations: 58.97 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004534, allocations: 127.1 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004663, allocations: 42.36 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.004925, allocations: 95.05 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005034, allocations: 43.81 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.005064, allocations: 12 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.005138, allocations: 16 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.005167, allocations: 15.94 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.005206, allocations: 32.44 kB / 0.732 GB, free: 2.098 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005395, allocations: 80.16 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.005409, allocations: 0 / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00541, allocations: 1.469 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.005426, allocations: 0 / 0.732 GB, free: 2.02 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.0005414/0.005968, allocations: 340 kB / 0.7324 GB, free: 1.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.006003, allocations: 13.09 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.006265, allocations: 110 kB / 0.7325 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.006437, allocations: 135.3 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.006453, allocations: 9.688 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.006475, allocations: 12.38 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.006646, allocations: 90.89 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006655, allocations: 1.781 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.006667, allocations: 3.938 kB / 0.7327 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006673, allocations: 3.938 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.006732, allocations: 21.7 kB / 0.7328 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.007156, allocations: 241.2 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.007319, allocations: 47.14 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.007352, allocations: 16.86 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.00737, allocations: 9.109 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.007393, allocations: 30.56 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.007395, allocations: 0.9688 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001676/0.007563, allocations: 61.77 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.007595, allocations: 51.41 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.007692, allocations: 149.4 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.007716, allocations: 29.7 kB / 0.7334 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.007768, allocations: 104.8 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.007796, allocations: 23.81 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.007842, allocations: 26.61 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.007935, allocations: 322.8 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.007967, allocations: 4.812 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.007992, allocations: 11.98 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.00805, allocations: 26.38 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.008057, allocations: 0 / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001393/0.008197, allocations: 61.7 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.008217, allocations: 8.609 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.008225, allocations: 4.516 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.008241, allocations: 1.531 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.008336, allocations: 15.94 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.008342, allocations: 7.922 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.008395, allocations: 11.95 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.008403, allocations: 1.594 kB / 0.734 GB, free: 15.89 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 8.185e-05/0.008485, allocations: 117.2 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.008516, allocations: 7.984 kB / 0.7341 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.00855, allocations: 17.44 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008552, allocations: 0 / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008554, allocations: 1.344 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.00856, allocations: 3.938 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.00871, allocations: 97.7 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008712, allocations: 5.188 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.008783, allocations: 15.98 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.008798, allocations: 7.953 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008801, allocations: 0 / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.008808, allocations: 1.25 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00881, allocations: 0 / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.008814, allocations: 3.938 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.008959, allocations: 152.3 kB / 0.7344 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.008985, allocations: 8 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.009069, allocations: 8.516 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.009123, allocations: 17.03 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.009129, allocations: 0 / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.009169, allocations: 34.45 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.009169, allocations: 0.875 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000207/0.009376, allocations: 19.95 kB / 0.7345 GB, free: 15.35 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 0.0001183/0.009495, allocations: 85.62 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.009611, allocations: 36.78 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.009621, allocations: 8.641 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.009675, allocations: 24.8 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.009928, allocations: 51.19 kB / 0.7347 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.01184, allocations: 226.4 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01189, allocations: 67.33 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.845e-05/0.01195, allocations: 7.688 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.01204, allocations: 63.36 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.01204, allocations: 0 / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.003218/0.01526, allocations: 1.136 MB / 0.7361 GB, free: 13.65 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.713298601098359]