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.001446/0.001446, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001486/0.001486, allocations: 164.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.885/2.885, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.573e-06/1.573e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.615e-05, allocations: 6.219 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002659/0.002686, allocations: 1.496 MB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.003587, allocations: 462.8 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.003629, allocations: 0 / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.003675, allocations: 11.86 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.003752, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.003905, allocations: 27.91 kB / 0.9833 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.004008, allocations: 51.84 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.00412, allocations: 8 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.004202, allocations: 31.89 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.004274, allocations: 19.92 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.004298, allocations: 8 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.004312, allocations: 4 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.004337, allocations: 7.984 kB / 0.9835 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.00438, allocations: 19.97 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.004505, allocations: 55.73 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004508, allocations: 0 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004509, allocations: 0 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.004517, allocations: 0 / 0.9835 GB, free: 9.793 MB / 0.9356 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.0005735/0.00509, allocations: 286.2 kB / 0.9838 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.00513, allocations: 12.03 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.005165, allocations: 4.938 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005299, allocations: 113.7 kB / 0.9839 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.005312, allocations: 384 / 0.9839 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005331, allocations: 8.375 kB / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.005484, allocations: 62.17 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005493, allocations: 192 / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.005503, allocations: 384 / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.005512, allocations: 11.86 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.005582, allocations: 27.98 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.006079, allocations: 228.5 kB / 0.9843 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.006204, allocations: 54.59 kB / 0.9843 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.006253, allocations: 24.84 kB / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.006264, allocations: 0 / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.006427, allocations: 87.38 kB / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.006428, allocations: 3.938 kB / 0.9844 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.006669, allocations: 101.6 kB / 0.9845 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.006714, allocations: 55.41 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.006808, allocations: 105.8 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.006834, allocations: 37.7 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.006887, allocations: 84.12 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.006919, allocations: 27.78 kB / 0.9848 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.00697, allocations: 29.7 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.007101, allocations: 318.8 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.00714, allocations: 15.98 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.007201, allocations: 47.42 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.007301, allocations: 63.38 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007302, allocations: 0 / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001626/0.007465, allocations: 101.5 kB / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.007479, allocations: 4 kB / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007486, allocations: 4 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007499, allocations: 0 / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.007582, allocations: 11.94 kB / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.00759, allocations: 3.984 kB / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.00766, allocations: 12 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.007667, allocations: 0 / 0.9854 GB, free: 7.688 MB / 0.9356 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 9.261e-05/0.00776, allocations: 121.8 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.007774, allocations: 7.891 kB / 0.9855 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.007804, allocations: 20.42 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.007806, allocations: 0 / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.007813, allocations: 7.922 kB / 0.9856 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007816, allocations: 0 / 0.9856 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.008204, allocations: 298.4 kB / 0.9858 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008205, allocations: 0 / 0.9858 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.008236, allocations: 7.984 kB / 0.9858 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008238, allocations: 0 / 0.9858 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.008251, allocations: 4.094 kB / 0.9858 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008252, allocations: 3.938 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008253, allocations: 4.062 kB / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.008438, allocations: 191.4 kB / 0.986 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.008451, allocations: 8 kB / 0.986 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.008465, allocations: 0 / 0.986 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.008557, allocations: 7.984 kB / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.008605, allocations: 11.98 kB / 0.9861 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.00861, allocations: 0 / 0.9861 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.008654, allocations: 79.28 kB / 0.9861 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.008654, allocations: 0 / 0.9861 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002412/0.008895, allocations: 16 kB / 0.9862 GB, free: 6.855 MB / 0.9356 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.0001042/0.009, allocations: 99.25 kB / 0.9862 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.009156, allocations: 59.84 kB / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.009158, allocations: 0 / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.009209, allocations: 20 kB / 0.9863 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.009485, allocations: 15.92 kB / 0.9863 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.009801, allocations: 145.3 kB / 0.9865 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.485e-05/0.009865, allocations: 67.34 kB / 0.9865 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.009894, allocations: 15.98 kB / 0.9866 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.009929, allocations: 16.5 kB / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.009929, allocations: 0 / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of Templates: time 0.003454/0.01338, allocations: 0.8128 MB / 0.9874 GB, free: 5.574 MB / 0.9356 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] "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.9805873185396194]