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.001799/0.001799, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002244/0.002244, allocations: 218.9 kB / 22.25 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.095/3.095, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003285/0.003285, allocations: 67.2 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3678, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002896/0.3707, allocations: 1.507 MB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.3716, allocations: 438.9 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.3716, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.868e-05/0.3717, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.3718, allocations: 11.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3719, allocations: 27.91 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.372, allocations: 51.84 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3721, allocations: 8 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.3722, allocations: 27.86 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.3723, allocations: 19.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3723, allocations: 7.938 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3723, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.3723, allocations: 15.97 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3724, allocations: 23.86 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3725, allocations: 40.11 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3725, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3725, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3725, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 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.000548/0.3731, allocations: 290.1 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3731, allocations: 8.031 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.3731, allocations: 34.75 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3732, allocations: 12.88 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3733, allocations: 114.5 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3733, allocations: 8.375 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3733, allocations: 4.375 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3735, allocations: 61.8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3735, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.3735, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3735, allocations: 4 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.3736, allocations: 27.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3741, allocations: 263.8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3742, allocations: 54.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.3742, allocations: 24.98 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3742, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3744, allocations: 79.38 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3744, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002597/0.3747, allocations: 105.5 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.3748, allocations: 55.41 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.3748, allocations: 101.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3749, allocations: 33.69 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3749, allocations: 88.09 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.375, allocations: 19.84 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.375, allocations: 33.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3752, allocations: 318.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.3752, allocations: 23.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.3752, allocations: 43.36 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.3753, allocations: 71.55 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3753, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.3755, allocations: 97.56 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3755, allocations: 5.719 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3755, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3755, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.3756, allocations: 11.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3756, allocations: 7.969 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.3757, allocations: 11.95 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3757, allocations: 7.938 kB / 1.33 GB, free: 13.15 MB / 1.029 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.000107/0.3758, allocations: 122.4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3758, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.3758, allocations: 12.06 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3758, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3758, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3758, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.3763, allocations: 337.4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3763, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.3763, allocations: 4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3763, allocations: 3.938 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3763, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3763, allocations: 7.922 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3763, allocations: 480 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3765, allocations: 183.4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.3765, allocations: 3.953 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3765, allocations: 7.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.3766, allocations: 7.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3767, allocations: 11.98 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3767, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.3767, allocations: 87.27 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3767, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002248/0.377, allocations: 12 kB / 1.331 GB, free: 12.27 MB / 1.029 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.0004826/0.3774, allocations: 0.7163 MB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.3776, allocations: 47.92 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3776, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.3776, allocations: 27.98 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3779, allocations: 20.52 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3793, allocations: 1.358 MB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.3794, allocations: 71.33 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.3794, allocations: 4 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.3794, allocations: 31.3 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3794, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4089, allocations: 2.353 MB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 4.844 kB / 1.335 GB, free: 7.648 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.209479206998367]