Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 443.5 MB / 0.7287 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.056 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7429, allocations: 160.7 MB / 1.213 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003033/0.746, allocations: 1.502 MB / 1.214 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008544/0.7468, allocations: 441.5 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.7469, allocations: 5.281 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.992e-05/0.7469, allocations: 7.922 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.747, allocations: 9.5 kB / 1.215 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.7472, allocations: 16.86 kB / 1.215 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7473, allocations: 50.81 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7474, allocations: 16.28 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.7474, allocations: 15.72 kB / 1.215 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.7475, allocations: 25.41 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.7475, allocations: 4.312 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.7475, allocations: 4.062 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.7476, allocations: 18.08 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.7476, allocations: 26.44 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.7477, allocations: 53.19 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7477, allocations: 0 / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7477, allocations: 3.938 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.7477, allocations: 0.8438 kB / 1.215 GB, free: 2.266 MB / 0.92 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.0005791/0.7483, allocations: 361 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7484, allocations: 10.28 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.7484, allocations: 39.81 kB / 1.215 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.7484, allocations: 4.25 kB / 1.215 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.7486, allocations: 174.4 kB / 1.216 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.7486, allocations: 3.625 kB / 1.216 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.7486, allocations: 7.719 kB / 1.216 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.7487, allocations: 59.97 kB / 1.216 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7488, allocations: 0 / 1.216 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.7488, allocations: 1.062 kB / 1.216 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.7488, allocations: 5.078 kB / 1.216 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.7488, allocations: 25.61 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.7493, allocations: 297.8 kB / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.7495, allocations: 50.75 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.7495, allocations: 22.41 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.7495, allocations: 1.031 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.7497, allocations: 79.88 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 3.597e-06/0.7497, allocations: 5.047 kB / 1.216 GB, free: 1.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002371/0.75, allocations: 97.73 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.75, allocations: 61.55 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.7501, allocations: 107.7 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.7501, allocations: 31.55 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.7502, allocations: 86.02 kB / 1.216 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.7502, allocations: 23.12 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.7503, allocations: 34.19 kB / 1.217 GB, free: 0.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7504, allocations: 320.9 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.7504, allocations: 21.47 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.7505, allocations: 40.98 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.7506, allocations: 70.42 kB / 1.217 GB, free: 284 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7506, allocations: 0 / 1.217 GB, free: 284 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001595/0.7508, allocations: 98.41 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7508, allocations: 6.438 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7508, allocations: 1 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7508, allocations: 1.094 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.7509, allocations: 12.06 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7509, allocations: 2.188 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.7509, allocations: 12.23 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.751, allocations: 11.16 kB / 1.217 GB, free: 196 kB / 0.92 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.393e-05/0.7511, allocations: 122.5 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.7511, allocations: 2.188 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.7511, allocations: 13.12 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7511, allocations: 1 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7511, allocations: 0 / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7511, allocations: 4.797 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.7516, allocations: 360.1 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7516, allocations: 4 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.7516, allocations: 3.781 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7516, allocations: 0 / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.7516, allocations: 1.125 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.7516, allocations: 5.125 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7516, allocations: 0 / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.7518, allocations: 187.4 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.7519, allocations: 79.33 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.7519, allocations: 9.281 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.752, allocations: 22.84 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.752, allocations: 8.141 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.752, allocations: 2.438 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.7521, allocations: 83.53 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7521, allocations: 0 / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002434/0.7523, allocations: 15.03 kB / 1.218 GB, free: 15.32 MB / 0.9356 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.0005201/0.7528, allocations: 0.7189 MB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.753, allocations: 55 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.753, allocations: 0 / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.753, allocations: 22.94 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.7533, allocations: 15.3 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.7548, allocations: 1.367 MB / 1.22 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.7551, allocations: 0.683 MB / 1.221 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.7552, allocations: 7.953 kB / 1.221 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.7552, allocations: 19.72 kB / 1.221 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.7552, allocations: 4 kB / 1.221 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.7797, allocations: 1.771 MB / 1.223 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/9.066, allocations: 10.95 kB / 1.223 GB, free: 11.59 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.579178811050951]