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.001302/0.001302, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001865/0.001865, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.397/1.397, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.509/2.509, allocations: 437.1 MB / 0.7171 GB, free: 4.07 MB / 0.5762 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.001759/0.001759, allocations: 63.89 kB / 1.027 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7906, allocations: 151.6 MB / 1.175 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002966/0.7936, allocations: 1.479 MB / 1.176 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.7944, allocations: 454.9 kB / 1.177 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.7945, allocations: 4 kB / 1.177 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.7945, allocations: 3.938 kB / 1.177 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.7946, allocations: 3.938 kB / 1.177 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.7948, allocations: 23.91 kB / 1.177 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7949, allocations: 43.86 kB / 1.177 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.795, allocations: 19.97 kB / 1.177 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.7951, allocations: 19.92 kB / 1.177 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.7952, allocations: 23.92 kB / 1.177 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.7952, allocations: 4 kB / 1.177 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.7952, allocations: 4 kB / 1.177 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.7953, allocations: 15.92 kB / 1.177 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.7953, allocations: 19.94 kB / 1.177 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.7955, allocations: 57.84 kB / 1.177 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.7955, allocations: 0 / 1.177 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7955, allocations: 0 / 1.177 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7955, allocations: 0 / 1.177 GB, free: 1.465 MB / 0.8887 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.0006738/0.7962, allocations: 369 kB / 1.177 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7962, allocations: 8.625 kB / 1.177 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.7963, allocations: 34.69 kB / 1.177 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.7963, allocations: 4.938 kB / 1.177 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.7965, allocations: 180.3 kB / 1.177 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.7965, allocations: 384 / 1.177 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.7965, allocations: 8.312 kB / 1.177 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.7967, allocations: 61.8 kB / 1.177 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7967, allocations: 3.938 kB / 1.177 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7967, allocations: 7.984 kB / 1.177 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7967, allocations: 4 kB / 1.177 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.7968, allocations: 23.98 kB / 1.177 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.7974, allocations: 292.8 kB / 1.178 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.7975, allocations: 58.59 kB / 1.178 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.7975, allocations: 28.94 kB / 1.178 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.7975, allocations: 0 / 1.178 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.7977, allocations: 71.34 kB / 1.178 GB, free: 164 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.7977, allocations: 0 / 1.178 GB, free: 164 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002483/0.798, allocations: 97.61 kB / 1.178 GB, free: 60 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.7981, allocations: 63.34 kB / 1.178 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.7982, allocations: 105.8 kB / 1.178 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.7982, allocations: 29.7 kB / 1.178 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.7983, allocations: 92.12 kB / 1.178 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.7983, allocations: 23.84 kB / 1.178 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.7983, allocations: 29.66 kB / 1.178 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7985, allocations: 318.8 kB / 1.179 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.7985, allocations: 23.98 kB / 1.179 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.7986, allocations: 35.44 kB / 1.179 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.7987, allocations: 75.73 kB / 1.179 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7987, allocations: 0 / 1.179 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001494/0.7989, allocations: 97.56 kB / 1.179 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7989, allocations: 8 kB / 1.179 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7989, allocations: 3.938 kB / 1.179 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7989, allocations: 0 / 1.179 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.799, allocations: 11.94 kB / 1.179 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.799, allocations: 4 kB / 1.179 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.7991, allocations: 15.95 kB / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7991, allocations: 7.938 kB / 1.179 GB, free: 15.05 MB / 0.9044 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.0001143/0.7992, allocations: 117.8 kB / 1.179 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.7992, allocations: 4.281 kB / 1.179 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.7993, allocations: 11.95 kB / 1.179 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7993, allocations: 3.984 kB / 1.179 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7993, allocations: 0 / 1.179 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7993, allocations: 0 / 1.179 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.7997, allocations: 370.3 kB / 1.179 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7997, allocations: 0 / 1.179 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.7998, allocations: 4 kB / 1.179 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7998, allocations: 0 / 1.179 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.7998, allocations: 0 / 1.179 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7998, allocations: 3.938 kB / 1.179 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7998, allocations: 0 / 1.179 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.8, allocations: 187.4 kB / 1.18 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.8001, allocations: 81.11 kB / 1.18 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.8001, allocations: 3.984 kB / 1.18 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.8002, allocations: 15.88 kB / 1.18 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.8002, allocations: 7.984 kB / 1.18 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.8002, allocations: 8.062 kB / 1.18 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.8003, allocations: 83.28 kB / 1.18 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8003, allocations: 0 / 1.18 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002253/0.8005, allocations: 11.94 kB / 1.18 GB, free: 14.05 MB / 0.9044 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.0004827/0.801, allocations: 0.7303 MB / 1.18 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.8011, allocations: 55.86 kB / 1.181 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8012, allocations: 0 / 1.181 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.8012, allocations: 27.98 kB / 1.181 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.8015, allocations: 12 kB / 1.181 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.8028, allocations: 1.351 MB / 1.182 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.8032, allocations: 0.6846 MB / 1.183 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.8032, allocations: 11.98 kB / 1.183 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.8032, allocations: 19.77 kB / 1.183 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of SimCode: time 1.974e-06/0.8033, allocations: 0 / 1.183 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.8246, allocations: 1.776 MB / 1.184 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.678, allocations: 10.14 kB / 1.184 GB, free: 9.348 MB / 0.9044 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.170904829865322]