Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001026/0.001026, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009598/0.0009598, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9549/0.9549, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.993/1.993, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.554e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002031/0.002067, allocations: 1.547 MB / 0.8809 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.002694, allocations: 467.5 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002733, allocations: 0 / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.00276, allocations: 7.922 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.00284, allocations: 13.09 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.002967, allocations: 19.91 kB / 0.8814 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.003039, allocations: 55.84 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.003137, allocations: 23.25 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.003196, allocations: 19.98 kB / 0.8815 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.003256, allocations: 23.91 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003275, allocations: 4 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.003284, allocations: 4 kB / 0.8815 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.003305, allocations: 7.984 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.003334, allocations: 19.92 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.265e-05/0.003416, allocations: 27.95 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003418, allocations: 0 / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003419, allocations: 0.5938 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003423, allocations: 1.562 kB / 0.8815 GB, free: 3.844 MB / 0.8386 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.0003846/0.003808, allocations: 396.4 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.00384, allocations: 8.031 kB / 0.8819 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.00387, allocations: 14.3 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.003947, allocations: 108.6 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.003959, allocations: 4.375 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.00397, allocations: 8.375 kB / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.013e-05/0.00404, allocations: 54.17 kB / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.004048, allocations: 192 / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004058, allocations: 4.375 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.004067, allocations: 3.938 kB / 0.8821 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.004108, allocations: 15.92 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.004389, allocations: 272.3 kB / 0.8824 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.004465, allocations: 47.08 kB / 0.8824 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.004485, allocations: 19.7 kB / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.004492, allocations: 8.062 kB / 0.8825 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/0.004582, allocations: 72.97 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.004584, allocations: 3.984 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001529/0.004737, allocations: 89.56 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.004776, allocations: 59.34 kB / 0.8827 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.004846, allocations: 161.9 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.00486, allocations: 33.7 kB / 0.8829 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.004905, allocations: 130.8 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.004927, allocations: 27.83 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.00496, allocations: 31.36 kB / 0.883 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.005088, allocations: 0.4923 MB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.005102, allocations: 8 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.005135, allocations: 46.73 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.005191, allocations: 70.59 kB / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005192, allocations: 0 / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.518e-05/0.005278, allocations: 89.55 kB / 0.8837 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005288, allocations: 4 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005293, allocations: 0 / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.005302, allocations: 4 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.005357, allocations: 15.94 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.00536, allocations: 0 / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.005395, allocations: 19.97 kB / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.0054, allocations: 4 kB / 0.8838 GB, free: 1.324 MB / 0.8386 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 8.013e-05/0.00548, allocations: 165.2 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.005491, allocations: 7.938 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.005514, allocations: 8.125 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005517, allocations: 0 / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005521, allocations: 7.938 kB / 0.884 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.005527, allocations: 0 / 0.884 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.005768, allocations: 321.9 kB / 0.8843 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005769, allocations: 4 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.005782, allocations: 7.984 kB / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005784, allocations: 0 / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.005788, allocations: 0 / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005789, allocations: 0 / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005791, allocations: 4 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.005893, allocations: 228.1 kB / 0.8845 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.005901, allocations: 7.953 kB / 0.8845 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.005908, allocations: 0 / 0.8845 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.005942, allocations: 4 kB / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.005981, allocations: 15.97 kB / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.005985, allocations: 4 kB / 0.8845 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.006019, allocations: 127.2 kB / 0.8846 GB, free: 376 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006019, allocations: 0 / 0.8846 GB, free: 376 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001482/0.006167, allocations: 16 kB / 0.8847 GB, free: 360 kB / 0.8386 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 7.091e-05/0.006238, allocations: 99.19 kB / 0.8848 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.00632, allocations: 43.59 kB / 0.8848 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006321, allocations: 0 / 0.8848 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.006354, allocations: 36.22 kB / 0.8848 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.00654, allocations: 17.31 kB / 0.8848 GB, free: 144 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.006755, allocations: 146.3 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.006788, allocations: 63.34 kB / 0.885 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.006808, allocations: 4 kB / 0.885 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.006864, allocations: 78.2 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.006864, allocations: 0 / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.002433/0.009297, allocations: 0.9391 MB / 0.886 GB, free: 14.89 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.223115817178041]