Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008645/0.0008645, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008475/0.0008475, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8971/0.8971, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.663e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001719/0.001736, allocations: 1.502 MB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.002303, allocations: 454.8 kB / 0.9841 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.002338, allocations: 4 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.002365, allocations: 3.938 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.002442, allocations: 15.91 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.002572, allocations: 15.92 kB / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.002649, allocations: 51.84 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.002743, allocations: 11.98 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.002803, allocations: 31.91 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.002857, allocations: 15.98 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.00288, allocations: 4 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.002889, allocations: 7.938 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.002922, allocations: 20.03 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.002953, allocations: 15.92 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.00305, allocations: 47.81 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.003053, allocations: 3.984 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.003055, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003059, allocations: 0 / 0.9843 GB, free: 15.91 MB / 0.948 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.0003896/0.003448, allocations: 282.2 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003484, allocations: 16.02 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.003512, allocations: 0.9375 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.003601, allocations: 113.7 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.003615, allocations: 8.375 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.003624, allocations: 4.375 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.003712, allocations: 58.17 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.00372, allocations: 192 / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003729, allocations: 384 / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003734, allocations: 7.938 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.003782, allocations: 23.98 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.004109, allocations: 232.5 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.004199, allocations: 50.56 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.004232, allocations: 28.88 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.00424, allocations: 0 / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.004353, allocations: 79.36 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.004354, allocations: 0 / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0001773/0.004531, allocations: 101.9 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004565, allocations: 59.44 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.004619, allocations: 117.7 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.004631, allocations: 29.7 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.004667, allocations: 88.12 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.004692, allocations: 19.8 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.004725, allocations: 33.7 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.004798, allocations: 314.8 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.004824, allocations: 19.98 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.004861, allocations: 43.42 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.004926, allocations: 63.38 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.004928, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002428/0.005171, allocations: 109.6 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005182, allocations: 8 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005187, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005198, allocations: 4 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.005255, allocations: 8 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.00526, allocations: 3.984 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.005298, allocations: 11.98 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.005304, allocations: 8.062 kB / 0.9862 GB, free: 13.8 MB / 0.948 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 5.852e-05/0.005362, allocations: 117.8 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.00537, allocations: 15.92 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.005389, allocations: 12.11 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005391, allocations: 0 / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.005395, allocations: 4 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005398, allocations: 0 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.005636, allocations: 302 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005637, allocations: 0 / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.005649, allocations: 7.984 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005651, allocations: 0 / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.005657, allocations: 3.938 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005658, allocations: 4 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005659, allocations: 0 / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.005761, allocations: 195.4 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.005767, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.005777, allocations: 4 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.094e-05/0.005818, allocations: 3.984 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.005856, allocations: 11.98 kB / 0.9868 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.005862, allocations: 4 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.005889, allocations: 79.28 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.005889, allocations: 0 / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001618/0.006051, allocations: 16 kB / 0.9869 GB, free: 12.98 MB / 0.948 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 6.878e-05/0.00612, allocations: 103.2 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.006218, allocations: 55.91 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00622, allocations: 0 / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.006255, allocations: 20 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.00645, allocations: 19.86 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.006695, allocations: 170.5 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.006738, allocations: 75.28 kB / 0.9873 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.006764, allocations: 12.92 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.006765, allocations: 0 / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of Templates: time 0.001529/0.008294, allocations: 0.8894 MB / 0.9882 GB, free: 11.59 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 6.456498603336513]