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.00137/0.00137, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001333/0.001333, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9537/0.9537, allocations: 177.2 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.84/1.84, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 2.154e-06/2.154e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.654e-05, allocations: 6.062 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.005631/0.005667, allocations: 1.545 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.006482, allocations: 469.2 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.006529, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.006567, allocations: 3.938 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.006668, allocations: 11.92 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.006854, allocations: 20.97 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.006959, allocations: 51.84 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.007079, allocations: 13.5 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.007167, allocations: 35.89 kB / 0.7892 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.007232, allocations: 11.98 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.007254, allocations: 4 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.007273, allocations: 8 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.007305, allocations: 12.64 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.007357, allocations: 20.88 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.007496, allocations: 35.83 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.007501, allocations: 0 / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.913e-06/0.007503, allocations: 1.469 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.007509, allocations: 0 / 0.7892 GB, free: 10.31 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.0004701/0.007979, allocations: 388.5 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.008023, allocations: 9.906 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.008077, allocations: 12.89 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.008175, allocations: 108.6 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.008188, allocations: 4.375 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.008216, allocations: 8.375 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.008322, allocations: 60.45 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.008333, allocations: 192 / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.008345, allocations: 384 / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.008355, allocations: 3.938 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.008404, allocations: 19.98 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.009003, allocations: 288.2 kB / 0.7901 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.009093, allocations: 56.73 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.009127, allocations: 27.67 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.009136, allocations: 0 / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.009268, allocations: 73.08 kB / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.009269, allocations: 5.312 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002087/0.009478, allocations: 93.61 kB / 0.7904 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.009518, allocations: 51.41 kB / 0.7904 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.0096, allocations: 169.9 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.009614, allocations: 31.45 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.009666, allocations: 130.9 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.009692, allocations: 27.83 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.009729, allocations: 31.38 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.009843, allocations: 0.4892 MB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.009867, allocations: 8 kB / 0.7913 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.009906, allocations: 51.48 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.009974, allocations: 70.84 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.009977, allocations: 1.938 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001109/0.01009, allocations: 97.44 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.0101, allocations: 8 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01012, allocations: 0 / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.01014, allocations: 2.312 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.01022, allocations: 16 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01023, allocations: 4 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.01027, allocations: 7.984 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.01028, allocations: 0 / 0.7915 GB, free: 7.766 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 9.147e-05/0.01037, allocations: 175.2 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.01038, allocations: 15.89 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.01041, allocations: 4.656 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01042, allocations: 0 / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01042, allocations: 1.656 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01043, allocations: 3.984 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01072, allocations: 341.3 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01072, allocations: 4 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.01074, allocations: 4.562 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01074, allocations: 5.312 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01075, allocations: 0 / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01075, allocations: 4.062 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01076, allocations: 0 / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.01088, allocations: 240.9 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.01089, allocations: 3.953 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.0109, allocations: 0 / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.01095, allocations: 8.891 kB / 0.7923 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.011, allocations: 11.98 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.011, allocations: 0 / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.01105, allocations: 124 kB / 0.7924 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 3.938 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001607/0.01121, allocations: 17.28 kB / 0.7924 GB, free: 6.758 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.0001024/0.01131, allocations: 99.23 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.01144, allocations: 52.53 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01144, allocations: 0.875 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.01148, allocations: 31.61 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01171, allocations: 32.11 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.01202, allocations: 142.1 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.01206, allocations: 59.34 kB / 0.7928 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.01209, allocations: 8.984 kB / 0.7928 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.01212, allocations: 12.5 kB / 0.7929 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.01212, allocations: 0 / 0.7929 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.002709/0.01483, allocations: 0.8286 MB / 0.7937 GB, free: 5.477 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",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: 5.3284486420452595]