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.002557/0.002557, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002611/0.002611, allocations: 157.7 kB / 23.55 MB, free: 0.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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.889/2.889, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.804e-06/1.804e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.789e-05, allocations: 5.125 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002845/0.002873, allocations: 1.497 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.003786, allocations: 460.5 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.003828, allocations: 0.875 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.003857, allocations: 7.922 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.003953, allocations: 8.906 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.004103, allocations: 27.91 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.004202, allocations: 47.84 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.004299, allocations: 12.64 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.004381, allocations: 31.91 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.004448, allocations: 16.5 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.004469, allocations: 4.781 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.004482, allocations: 4 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.004516, allocations: 13.52 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.004559, allocations: 15.98 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.004682, allocations: 55.73 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004684, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004685, allocations: 3.438 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.004689, allocations: 0 / 0.7885 GB, free: 10.66 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.0005656/0.005254, allocations: 380.2 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.005293, allocations: 8.031 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.005342, allocations: 8.938 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005483, allocations: 124.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.005498, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005517, allocations: 8.375 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.005639, allocations: 58.12 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.005648, allocations: 0.9375 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00566, allocations: 8.359 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005667, allocations: 4.531 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.005741, allocations: 25.52 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.00626, allocations: 295.7 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.006392, allocations: 55.06 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.006449, allocations: 32.98 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.006464, allocations: 4 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.006618, allocations: 81.69 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.006619, allocations: 0 / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002736/0.006893, allocations: 102.9 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.006947, allocations: 59.39 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007084, allocations: 165.9 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.007119, allocations: 37.69 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.007206, allocations: 128.4 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.007248, allocations: 31.78 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.007313, allocations: 43.3 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002699/0.007583, allocations: 0.4884 MB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.007625, allocations: 16.55 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.007718, allocations: 60.11 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.007836, allocations: 74.69 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007839, allocations: 0 / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001777/0.008016, allocations: 110.3 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008031, allocations: 5.969 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.008036, allocations: 0 / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.008054, allocations: 8.031 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.00814, allocations: 15.98 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008146, allocations: 0 / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.008201, allocations: 8.531 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.00821, allocations: 4 kB / 0.7908 GB, free: 8.02 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 0.0001351/0.008345, allocations: 165.9 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.008369, allocations: 17.16 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.008398, allocations: 8.125 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.0084, allocations: 4 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008404, allocations: 0.625 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008407, allocations: 0 / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.008862, allocations: 358.4 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008863, allocations: 64 / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.008892, allocations: 8 kB / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008894, allocations: 0.75 kB / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.008906, allocations: 3.984 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008907, allocations: 0.7188 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008907, allocations: 0.5 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.009148, allocations: 243.8 kB / 0.7916 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.009158, allocations: 5.078 kB / 0.7916 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.009177, allocations: 8 kB / 0.7916 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.009244, allocations: 3.938 kB / 0.7916 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.009292, allocations: 8.891 kB / 0.7916 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.009299, allocations: 4 kB / 0.7916 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.009379, allocations: 136 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009379, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002505/0.00963, allocations: 22.17 kB / 0.7918 GB, free: 6.984 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 0.0001081/0.009738, allocations: 91.25 kB / 0.7919 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.009897, allocations: 67.59 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009898, allocations: 0 / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.009973, allocations: 42.36 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01023, allocations: 11.94 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.01064, allocations: 166.8 kB / 0.7922 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.01071, allocations: 67.34 kB / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.01074, allocations: 9.484 kB / 0.7922 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01078, allocations: 12.5 kB / 0.7922 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01078, allocations: 0 / 0.7922 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.003921/0.0147, allocations: 0.8298 MB / 0.7931 GB, free: 5.668 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.99348172696773]