Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.0008556/0.0008556, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001002/0.001002, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.1e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001992/0.002013, allocations: 1.481 MB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.002674, allocations: 463.5 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.002713, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.002743, allocations: 3.938 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.002824, allocations: 3.984 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.00298, allocations: 27.84 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.003068, allocations: 47.84 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003183, allocations: 11.94 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.003257, allocations: 35.95 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.003322, allocations: 11.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.00335, allocations: 8 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.00336, allocations: 8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003383, allocations: 7.984 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.003431, allocations: 23.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003542, allocations: 47.81 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003544, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003545, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003549, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 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.0004076/0.003957, allocations: 282.3 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.004002, allocations: 8.75 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.004033, allocations: 38.73 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.004059, allocations: 12.89 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.004241, allocations: 109.7 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004255, allocations: 8.375 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.004267, allocations: 8.312 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.004371, allocations: 62.17 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004378, allocations: 192 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004388, allocations: 4.125 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.004395, allocations: 4 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.004447, allocations: 23.98 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.004802, allocations: 267.8 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.004888, allocations: 46.56 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.004922, allocations: 32.94 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.004931, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.005084, allocations: 75.36 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.005086, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000183/0.005269, allocations: 109.5 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.005307, allocations: 51.41 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.005373, allocations: 109.8 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005385, allocations: 29.7 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.005424, allocations: 92.09 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.005445, allocations: 23.88 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.005475, allocations: 21.72 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.00555, allocations: 322.8 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.005574, allocations: 16 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.005613, allocations: 47.36 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.005679, allocations: 67.36 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005682, allocations: 0 / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.526e-05/0.005777, allocations: 93.58 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005791, allocations: 13.73 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005797, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005809, allocations: 4 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.005866, allocations: 19.88 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005872, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.005906, allocations: 11.92 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.005912, allocations: 4 kB / 1.004 GB, free: 9.188 MB / 0.9636 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 6.613e-05/0.005978, allocations: 121.8 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-06/0.005985, allocations: 7.953 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.006008, allocations: 12.06 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.006011, allocations: 4 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.006016, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.006019, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.006305, allocations: 329.8 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006307, allocations: 4 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.006322, allocations: 3.984 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.006326, allocations: 4 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006333, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006336, allocations: 4.062 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006337, allocations: 4 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.006448, allocations: 187.4 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.006457, allocations: 4.234 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.006467, allocations: 0 / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.006505, allocations: 7.984 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.006545, allocations: 15.97 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.006552, allocations: 7.938 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.006581, allocations: 79.28 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006581, allocations: 0 / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001501/0.006731, allocations: 19.94 kB / 1.004 GB, free: 8.309 MB / 0.9636 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.0002731/0.007004, allocations: 0.7085 MB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.007107, allocations: 59.84 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007109, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.007141, allocations: 16.28 kB / 1.005 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.007342, allocations: 20.11 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.008228, allocations: 1.385 MB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.008278, allocations: 83.3 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.008301, allocations: 4 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.008343, allocations: 20.48 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.008344, allocations: 0 / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02469, allocations: 2.469 MB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.239/6.264, allocations: 12.06 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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: 10.342272406443954]