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.001848/0.001848, allocations: 88.72 kB / 19.44 MB, free: 356 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.00232/0.00232, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.448/3.448, allocations: 429.6 MB / 0.673 GB, free: 3.91 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 4.929e-06/4.929e-06, allocations: 4 kB / 0.8776 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.673e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003388/0.003425, allocations: 1.501 MB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.004437, allocations: 462.3 kB / 0.8795 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.00448, allocations: 0 / 0.8795 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.004515, allocations: 3.938 kB / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.004608, allocations: 8.469 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.004778, allocations: 24.56 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.004894, allocations: 51.84 kB / 0.8796 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005005, allocations: 17.45 kB / 0.8796 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.005085, allocations: 27.91 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.005161, allocations: 15.97 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.005184, allocations: 9.156 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.005197, allocations: 4 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.005223, allocations: 11.92 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.005268, allocations: 12 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.005399, allocations: 55.2 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.005403, allocations: 0 / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/0.005405, allocations: 0 / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005409, allocations: 0 / 0.8797 GB, free: 4.395 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.0005981/0.006007, allocations: 286.3 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.006047, allocations: 8.031 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.006103, allocations: 8.891 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.00625, allocations: 117.7 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.006272, allocations: 8.969 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.006287, allocations: 5.906 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006416, allocations: 50.25 kB / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006424, allocations: 192 / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.006436, allocations: 384 / 0.8802 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006444, allocations: 11.94 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.006521, allocations: 31.91 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.007065, allocations: 236.5 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.007194, allocations: 50.59 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.007254, allocations: 36.81 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.007267, allocations: 0 / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.007467, allocations: 75.33 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.007468, allocations: 0 / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002807/0.007749, allocations: 109.6 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.00781, allocations: 55.41 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.007933, allocations: 113.8 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.007958, allocations: 29.7 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.008027, allocations: 88.09 kB / 0.881 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.008063, allocations: 27.78 kB / 0.881 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.008116, allocations: 25.72 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.008293, allocations: 318.8 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.008332, allocations: 12 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.008405, allocations: 51.36 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.008516, allocations: 71.36 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008518, allocations: 0 / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001692/0.008688, allocations: 101.5 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.008703, allocations: 4 kB / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.008708, allocations: 0 / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.008724, allocations: 4 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.008811, allocations: 11.94 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.008817, allocations: 0 / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.008893, allocations: 15.94 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.008899, allocations: 4 kB / 0.8816 GB, free: 2.27 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.0001135/0.009012, allocations: 123 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.009033, allocations: 7.938 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.009063, allocations: 8.125 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009065, allocations: 0 / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.009069, allocations: 0 / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.009074, allocations: 7.922 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.009519, allocations: 310 kB / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.00952, allocations: 0 / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.009544, allocations: 0 / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.009546, allocations: 4 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.009556, allocations: 7.984 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009557, allocations: 0 / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.009558, allocations: 0 / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.009777, allocations: 183.5 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.009804, allocations: 19.88 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.00982, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.009909, allocations: 8 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.009962, allocations: 7.984 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.00997, allocations: 3.984 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.01004, allocations: 87.55 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01004, allocations: 4 kB / 0.8823 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002405/0.01028, allocations: 12 kB / 0.8823 GB, free: 1.43 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.0001429/0.01042, allocations: 102.5 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01058, allocations: 55.84 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01058, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.01064, allocations: 24 kB / 0.8825 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01093, allocations: 14.42 kB / 0.8825 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.01132, allocations: 152.5 kB / 0.8827 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.245e-05/0.0114, allocations: 75.27 kB / 0.8827 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.01143, allocations: 4 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.01147, allocations: 16.48 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.01147, allocations: 0 / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of Templates: time 0.003689/0.01516, allocations: 0.8238 MB / 0.8836 GB, free: 144 kB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] 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.440267610014416]