Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008361/0.0008361, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009991/0.0009991, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9272/0.9272, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.113/2.113, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.87e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002122/0.00215, allocations: 1.534 MB / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006286/0.002779, allocations: 465.1 kB / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.002817, allocations: 0 / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002846, allocations: 9.594 kB / 0.8801 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.002927, allocations: 12.86 kB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.00308, allocations: 17 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.003164, allocations: 55.84 kB / 0.8802 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.00328, allocations: 15.88 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.003355, allocations: 32.95 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.003429, allocations: 19.97 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.003452, allocations: 4 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.003462, allocations: 5.094 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.003486, allocations: 11.92 kB / 0.8803 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.003527, allocations: 15.98 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003634, allocations: 32.98 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003636, allocations: 0 / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003638, allocations: 0 / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.003643, allocations: 0.7188 kB / 0.8803 GB, free: 4.488 MB / 0.8386 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.0004122/0.004055, allocations: 390.1 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.004092, allocations: 8.031 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.004134, allocations: 12.89 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.004229, allocations: 112.6 kB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.004241, allocations: 5.938 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.004254, allocations: 8.375 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.004336, allocations: 50.23 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004342, allocations: 192 / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004351, allocations: 1.281 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004358, allocations: 3.938 kB / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.004397, allocations: 23.92 kB / 0.8809 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.004733, allocations: 284.8 kB / 0.8812 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.004812, allocations: 59.64 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.004845, allocations: 28.36 kB / 0.8812 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.004852, allocations: 0 / 0.8812 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.415e-05/0.004946, allocations: 70.58 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.004948, allocations: 0 / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001857/0.005133, allocations: 101.5 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.005171, allocations: 55.41 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.005242, allocations: 165.2 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.005255, allocations: 29.7 kB / 0.8816 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005299, allocations: 134.8 kB / 0.8818 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.005322, allocations: 27.83 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.005358, allocations: 39.25 kB / 0.8818 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.005477, allocations: 0.4923 MB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.005503, allocations: 4 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.005543, allocations: 50.73 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.005607, allocations: 67.92 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005609, allocations: 0 / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.698e-05/0.005706, allocations: 94.86 kB / 0.8825 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.005722, allocations: 8 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.00573, allocations: 0 / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.00575, allocations: 8.031 kB / 0.8825 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.005821, allocations: 15.94 kB / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.005827, allocations: 7.984 kB / 0.8826 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.005861, allocations: 7.953 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.005866, allocations: 4 kB / 0.8826 GB, free: 1.93 MB / 0.8386 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 7.166e-05/0.005938, allocations: 164.5 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.005949, allocations: 11.94 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.00597, allocations: 4.125 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.005975, allocations: 3.984 kB / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.005978, allocations: 0 / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.005981, allocations: 8 kB / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.006238, allocations: 349.2 kB / 0.8831 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.006239, allocations: 0 / 0.8831 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.006257, allocations: 4 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006259, allocations: 0 / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006265, allocations: 64 / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.006268, allocations: 4 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.00627, allocations: 0 / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.006385, allocations: 235.8 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-06/0.006392, allocations: 3.953 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006404, allocations: 4 kB / 0.8833 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.006439, allocations: 11.92 kB / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.006478, allocations: 11.98 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.006484, allocations: 4 kB / 0.8834 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.006516, allocations: 123.2 kB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006516, allocations: 0 / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001413/0.006658, allocations: 12 kB / 0.8835 GB, free: 0.9219 MB / 0.8386 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 7.868e-05/0.006736, allocations: 99.23 kB / 0.8836 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.006837, allocations: 55.55 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006839, allocations: 4.062 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.006877, allocations: 27.67 kB / 0.8837 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.007068, allocations: 15.92 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.007363, allocations: 154.2 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.007401, allocations: 68.38 kB / 0.8839 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.007421, allocations: 4 kB / 0.8839 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.00745, allocations: 12.5 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of SimCode: time 1.283e-06/0.007452, allocations: 0 / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of Templates: time 0.002505/0.009956, allocations: 0.8365 MB / 0.8847 GB, free: 15.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.358450152911246]