Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001541/0.001541, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001735/0.001735, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.774/2.774, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.396e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004796/0.00483, allocations: 1.506 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.006264, allocations: 453 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.006322, allocations: 5.125 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.006363, allocations: 3.938 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.006472, allocations: 15.86 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.006658, allocations: 16.47 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.006797, allocations: 52.53 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.006916, allocations: 15.92 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.007048, allocations: 36.92 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.00713, allocations: 11.98 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.007158, allocations: 4 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.007174, allocations: 6.312 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.00721, allocations: 15.92 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.007272, allocations: 15.97 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.007427, allocations: 43.83 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.007434, allocations: 3.984 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.007436, allocations: 4 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.00744, allocations: 1.906 kB / 0.7885 GB, free: 10.65 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.0007465/0.008186, allocations: 274.3 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.008238, allocations: 16.02 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.008301, allocations: 4.938 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.008503, allocations: 127.1 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.008521, allocations: 384 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.008542, allocations: 4.375 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.008739, allocations: 58.23 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.00875, allocations: 1.344 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.008767, allocations: 4.375 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.008775, allocations: 3.938 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.008907, allocations: 29.3 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.009636, allocations: 232.5 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.009838, allocations: 56.28 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.009925, allocations: 28.88 kB / 0.7893 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.009945, allocations: 4 kB / 0.7893 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.01022, allocations: 72.47 kB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.01022, allocations: 0 / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003963/0.01062, allocations: 97.62 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.0107, allocations: 61.33 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01086, allocations: 105.8 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.01089, allocations: 25.7 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.01099, allocations: 92.12 kB / 0.7897 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.01104, allocations: 27.73 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.01112, allocations: 32.3 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.01137, allocations: 310.8 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.01144, allocations: 23.98 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.01154, allocations: 39.42 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.01172, allocations: 63.38 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01173, allocations: 4 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003009/0.01203, allocations: 110.5 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.01205, allocations: 9.406 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01206, allocations: 0.5312 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.01209, allocations: 5.656 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01219, allocations: 15.92 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.0122, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01232, allocations: 8 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01233, allocations: 4.625 kB / 0.7904 GB, free: 8.559 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.000148/0.01248, allocations: 115.4 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.01253, allocations: 15.88 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.01257, allocations: 12.12 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01257, allocations: 4.781 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01258, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01258, allocations: 0.8438 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.01326, allocations: 307.3 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01327, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.01331, allocations: 4 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01331, allocations: 0 / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.01333, allocations: 4.844 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01333, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01333, allocations: 1.125 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.01368, allocations: 195.8 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01369, allocations: 3.938 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01372, allocations: 5.375 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.01388, allocations: 7.984 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.01394, allocations: 7.984 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01396, allocations: 4 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.01405, allocations: 84.72 kB / 0.7911 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01405, allocations: 0 / 0.7911 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004759/0.01453, allocations: 15.95 kB / 0.7911 GB, free: 7.734 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.0001749/0.0147, allocations: 106.1 kB / 0.7912 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.01492, allocations: 55.86 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01492, allocations: 0 / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.01502, allocations: 23.98 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.01549, allocations: 12.14 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.016, allocations: 152.1 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01611, allocations: 69.06 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01615, allocations: 7.984 kB / 0.7915 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.0162, allocations: 12.5 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.0162, allocations: 0 / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.005499/0.0217, allocations: 0.8358 MB / 0.7924 GB, free: 6.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.701439268887043]