Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001006/0.001006, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001003/0.001003, allocations: 166.6 kB / 24.87 MB, free: 8.875 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.789/1.789, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.867e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002801/0.00282, allocations: 1.532 MB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.003656, allocations: 466.1 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.003704, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.003739, allocations: 3.938 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.003874, allocations: 11.92 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.004038, allocations: 19.91 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.004136, allocations: 51.84 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004241, allocations: 17.59 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.004317, allocations: 27.95 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.004385, allocations: 15.92 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.004407, allocations: 8 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.004418, allocations: 4.594 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.004442, allocations: 11.92 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.004481, allocations: 24.56 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.004583, allocations: 28.91 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004586, allocations: 0 / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.004586, allocations: 0 / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.00459, allocations: 1.156 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004542/0.005044, allocations: 388.5 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.005084, allocations: 9.406 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.005121, allocations: 12.88 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.005218, allocations: 108.6 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.005232, allocations: 4.375 kB / 0.7909 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.005244, allocations: 10.25 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.758e-05/0.005332, allocations: 50.17 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00534, allocations: 192 / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005349, allocations: 4.375 kB / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005356, allocations: 3.938 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.00539, allocations: 13.48 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.005744, allocations: 276.2 kB / 0.7913 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/0.005834, allocations: 47.56 kB / 0.7913 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.005863, allocations: 15.72 kB / 0.7913 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.005872, allocations: 6 kB / 0.7913 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.005988, allocations: 80.98 kB / 0.7914 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.00599, allocations: 0 / 0.7914 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001911/0.006181, allocations: 89.55 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.006221, allocations: 57.97 kB / 0.7916 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.006303, allocations: 161.9 kB / 0.7917 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.00632, allocations: 29.7 kB / 0.7917 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.006375, allocations: 134.9 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.006407, allocations: 23.84 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.006454, allocations: 31.36 kB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.006592, allocations: 0.4884 MB / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.006612, allocations: 8.516 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.006661, allocations: 59.38 kB / 0.7925 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.006735, allocations: 66.84 kB / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006737, allocations: 0.5312 kB / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001342/0.006871, allocations: 91.08 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.006884, allocations: 4 kB / 0.7926 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006889, allocations: 0 / 0.7926 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006902, allocations: 4 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.006975, allocations: 16.55 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006979, allocations: 0.5938 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.007032, allocations: 8 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.007039, allocations: 4.781 kB / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.83e-05/0.007127, allocations: 171.4 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.007146, allocations: 15.88 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.007168, allocations: 8.906 kB / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007171, allocations: 0 / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.007173, allocations: 1.125 kB / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007177, allocations: 4 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.007491, allocations: 321.9 kB / 0.7931 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007492, allocations: 0.8438 kB / 0.7931 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.007515, allocations: 4 kB / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007518, allocations: 1.438 kB / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.007523, allocations: 0 / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.007529, allocations: 3.938 kB / 0.7932 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00753, allocations: 0 / 0.7932 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.007677, allocations: 228.9 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.007688, allocations: 7.953 kB / 0.7934 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.0077, allocations: 7.984 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.007769, allocations: 9.969 kB / 0.7934 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.007808, allocations: 11.98 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.007813, allocations: 0 / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.007859, allocations: 127.2 kB / 0.7935 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007859, allocations: 0 / 0.7935 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000259/0.008118, allocations: 18.38 kB / 0.7935 GB, free: 6.582 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.404e-05/0.008202, allocations: 99.17 kB / 0.7936 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.008396, allocations: 43.61 kB / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008397, allocations: 0 / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.008443, allocations: 35.61 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.008728, allocations: 16.47 kB / 0.7937 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.009025, allocations: 158.1 kB / 0.7939 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.009063, allocations: 59.34 kB / 0.7939 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.773e-05/0.009091, allocations: 5.188 kB / 0.7939 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.009156, allocations: 78.19 kB / 0.794 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.009157, allocations: 0 / 0.794 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.003224/0.01238, allocations: 0.9202 MB / 0.7949 GB, free: 5.141 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.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: 5.007245576009154]