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.002402/0.002402, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002518/0.002518, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.491/3.491, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 0 / 0.8774 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.38e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003147/0.00318, allocations: 1.506 MB / 0.8789 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009727/0.004153, allocations: 463.5 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.004199, allocations: 0 / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.004232, allocations: 9.047 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.00433, allocations: 3.938 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.004497, allocations: 29.5 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.004598, allocations: 55.78 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004718, allocations: 7.984 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.004814, allocations: 27.97 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.004896, allocations: 23.91 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.00492, allocations: 5.438 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.004934, allocations: 4 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.004963, allocations: 7.984 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.005015, allocations: 23.05 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.00515, allocations: 43.86 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005155, allocations: 0 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/0.005156, allocations: 0 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.005161, allocations: 0 / 0.8795 GB, free: 4.535 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.0006808/0.005842, allocations: 384.2 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.005888, allocations: 8.031 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.005944, allocations: 8.891 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.006104, allocations: 125 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.006128, allocations: 8.375 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.006143, allocations: 6.031 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006275, allocations: 50.25 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.006289, allocations: 4.172 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006302, allocations: 8.359 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.00631, allocations: 5.281 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.006392, allocations: 31.92 kB / 0.8802 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.006931, allocations: 291.7 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.007077, allocations: 59.08 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.007136, allocations: 31.72 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.007152, allocations: 4 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.007318, allocations: 80.97 kB / 0.8806 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.007319, allocations: 0 / 0.8806 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002961/0.007615, allocations: 109.6 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.00767, allocations: 51.41 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.00781, allocations: 173.9 kB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.007839, allocations: 29.7 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.007926, allocations: 138.8 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.007963, allocations: 27.78 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.008028, allocations: 39.36 kB / 0.8811 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.008298, allocations: 0.4884 MB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.008343, allocations: 15.98 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.008439, allocations: 58.73 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.008558, allocations: 78.67 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00856, allocations: 0 / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00017/0.00873, allocations: 101.6 kB / 0.8819 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.008745, allocations: 8.031 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008749, allocations: 3.938 kB / 0.8819 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.008767, allocations: 4 kB / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.00887, allocations: 23.92 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.008875, allocations: 0 / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.008928, allocations: 7.953 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.008937, allocations: 4 kB / 0.8819 GB, free: 1.871 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 0.0001404/0.009077, allocations: 164.6 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.009097, allocations: 12.22 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.00913, allocations: 8.125 kB / 0.8821 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.009136, allocations: 11.98 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.009141, allocations: 0 / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009144, allocations: 0 / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.009606, allocations: 365.2 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009607, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.009638, allocations: 7.984 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.00964, allocations: 0 / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.009648, allocations: 0 / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.00965, allocations: 0 / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00965, allocations: 0 / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.009901, allocations: 243.8 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.009913, allocations: 7.953 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.009929, allocations: 4 kB / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.009994, allocations: 0 / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.01005, allocations: 11.98 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01006, allocations: 4 kB / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.222e-05/0.01014, allocations: 127.2 kB / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 0 / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002279/0.01037, allocations: 16 kB / 0.8829 GB, free: 0.8359 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 0.0001321/0.0105, allocations: 94.62 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.01067, allocations: 75.53 kB / 0.883 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01067, allocations: 0 / 0.883 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.01074, allocations: 31.67 kB / 0.883 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01102, allocations: 15.94 kB / 0.8831 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.01148, allocations: 174.1 kB / 0.8832 GB, free: 416 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.497e-05/0.01156, allocations: 72.3 kB / 0.8833 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.01159, allocations: 3.984 kB / 0.8833 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01163, allocations: 24.5 kB / 0.8833 GB, free: 296 kB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01163, allocations: 0 / 0.8833 GB, free: 296 kB / 0.8386 GB Notification: Performance of Templates: time 0.004157/0.01579, allocations: 0.823 MB / 0.8841 GB, free: 15.48 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.606992222019471]