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.00243/0.00243, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002763/0.002763, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 178] 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 3.434/3.434, allocations: 429.5 MB / 0.6729 GB, free: 3.977 MB / 0.6355 GB " [Timeout remaining time 176] 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.703e-06/1.703e-06, allocations: 0 / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.801e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004054/0.004082, allocations: 1.524 MB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.005283, allocations: 460 kB / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.005328, allocations: 4 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.005359, allocations: 5.031 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.005471, allocations: 11.91 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.005656, allocations: 19.92 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.005784, allocations: 48.5 kB / 0.8794 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005899, allocations: 14.02 kB / 0.8794 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.006003, allocations: 35.91 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.006079, allocations: 11.92 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.006105, allocations: 4 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.006122, allocations: 4 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.006155, allocations: 15.97 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.006215, allocations: 23.33 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.006352, allocations: 39.88 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.006363, allocations: 7.984 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006365, allocations: 0 / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5e-06/0.00637, allocations: 0 / 0.8796 GB, free: 4.445 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.0007257/0.007095, allocations: 376.2 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.007143, allocations: 12.03 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.007206, allocations: 12.89 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.00739, allocations: 121.4 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.007405, allocations: 384 / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.007426, allocations: 8.375 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.007594, allocations: 55.38 kB / 0.8801 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007604, allocations: 4.125 kB / 0.8801 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007616, allocations: 384 / 0.8801 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.007628, allocations: 8.969 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.007739, allocations: 27.91 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.008422, allocations: 284.9 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.008622, allocations: 67.08 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.008722, allocations: 32.64 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.008737, allocations: 0 / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.008954, allocations: 85.56 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.008955, allocations: 0.5938 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003692/0.009325, allocations: 105.6 kB / 0.8807 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.009395, allocations: 64.27 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.009565, allocations: 161.9 kB / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.009601, allocations: 30.42 kB / 0.881 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.009734, allocations: 146.8 kB / 0.8811 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.009782, allocations: 24.67 kB / 0.8811 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.00988, allocations: 35.36 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003951/0.01028, allocations: 0.4895 MB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.01035, allocations: 19.98 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01049, allocations: 62.67 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.01067, allocations: 75.81 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01067, allocations: 0 / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002706/0.01094, allocations: 103.2 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.01096, allocations: 8 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.01097, allocations: 0 / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01099, allocations: 0 / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01113, allocations: 20.89 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.01115, allocations: 4 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.01124, allocations: 20.7 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01125, allocations: 0 / 0.882 GB, free: 1.793 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 0.0001858/0.01144, allocations: 165.1 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01148, allocations: 15.36 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.01152, allocations: 8.125 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01152, allocations: 0 / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01152, allocations: 0 / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.01153, allocations: 4 kB / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.01223, allocations: 365.2 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01224, allocations: 0 / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.01228, allocations: 4 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01228, allocations: 0 / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.0123, allocations: 12.55 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0123, allocations: 0 / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0123, allocations: 4.031 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.01297, allocations: 231.8 kB / 0.8827 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.013, allocations: 11.94 kB / 0.8827 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.01303, allocations: 4 kB / 0.8827 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.01316, allocations: 4 kB / 0.8827 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.01323, allocations: 7.984 kB / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01324, allocations: 4 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001199/0.01336, allocations: 127.2 kB / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/0.01336, allocations: 0 / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004302/0.01379, allocations: 16 kB / 0.8829 GB, free: 0.7617 MB / 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 0.0003557/0.01415, allocations: 99.25 kB / 0.883 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.01441, allocations: 71.53 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01441, allocations: 0 / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01453, allocations: 27.69 kB / 0.8831 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.01499, allocations: 22.89 kB / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.01549, allocations: 154.2 kB / 0.8832 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.01562, allocations: 76.3 kB / 0.8833 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.01567, allocations: 12.47 kB / 0.8833 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.01572, allocations: 16.5 kB / 0.8833 GB, free: 232 kB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.01572, allocations: 0 / 0.8833 GB, free: 232 kB / 0.8386 GB Notification: Performance of Templates: time 0.005987/0.02171, allocations: 0.8237 MB / 0.8842 GB, free: 15.42 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.462213807040825]