Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001579/0.001579, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.00184/0.00184, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 9.156 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.687/2.687, allocations: 476.7 MB / 0.7672 GB, free: 5.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",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.001928/0.001928, allocations: 71.89 kB / 1.112 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7423, allocations: 169.9 MB / 1.278 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002681/0.745, allocations: 1.49 MB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.7458, allocations: 488.5 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.7458, allocations: 8 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.7459, allocations: 3.938 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.7459, allocations: 7.875 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.7461, allocations: 19.97 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.7462, allocations: 55.78 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.7462, allocations: 11.98 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.7463, allocations: 19.98 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.7463, allocations: 23.86 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.7464, allocations: 4 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.7464, allocations: 7.938 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.7464, allocations: 7.984 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.7464, allocations: 31.86 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.776e-05/0.7465, allocations: 45.64 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7465, allocations: 3.938 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7465, allocations: 0 / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7466, allocations: 0 / 1.28 GB, free: 11.25 MB / 0.9825 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.0005106/0.7471, allocations: 359.4 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7471, allocations: 12.03 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.7471, allocations: 30.75 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.7472, allocations: 16.89 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.7473, allocations: 168.3 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.7473, allocations: 8.375 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.7474, allocations: 4.375 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.7475, allocations: 61.73 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.7475, allocations: 4 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.7475, allocations: 3.938 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.7475, allocations: 0 / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.7476, allocations: 27.98 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.7481, allocations: 308.7 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7482, allocations: 50.56 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.7482, allocations: 24.94 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.7482, allocations: 4 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.7484, allocations: 75.42 kB / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.7484, allocations: 0 / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002284/0.7486, allocations: 105.8 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7486, allocations: 51.41 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.7487, allocations: 105.8 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.7488, allocations: 29.7 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.7488, allocations: 88.09 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.7488, allocations: 19.89 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.7489, allocations: 29.72 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.749, allocations: 322.8 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.7491, allocations: 19.98 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.7491, allocations: 39.44 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.7492, allocations: 67.36 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7492, allocations: 4 kB / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001519/0.7494, allocations: 93.56 kB / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7494, allocations: 4 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7494, allocations: 4 kB / 1.282 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7494, allocations: 3.938 kB / 1.282 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.7495, allocations: 8 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7495, allocations: 4 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.7495, allocations: 15.92 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.7496, allocations: 8 kB / 1.282 GB, free: 8.852 MB / 0.9825 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.187e-05/0.7496, allocations: 121.8 kB / 1.283 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.7497, allocations: 11.89 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.7497, allocations: 15.95 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.7497, allocations: 288 / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7497, allocations: 0 / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.7497, allocations: 0 / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.7501, allocations: 362.4 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7501, allocations: 0 / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.7501, allocations: 8 kB / 1.283 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7502, allocations: 4 kB / 1.283 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.7502, allocations: 4 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7502, allocations: 3.938 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7502, allocations: 0 / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.7503, allocations: 179.6 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.7504, allocations: 85.06 kB / 1.283 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7504, allocations: 7.984 kB / 1.283 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.7505, allocations: 11.94 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.7505, allocations: 7.984 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.7505, allocations: 4 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.7506, allocations: 79.28 kB / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7506, allocations: 0 / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002326/0.7508, allocations: 19.94 kB / 1.283 GB, free: 7.832 MB / 0.9825 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.0004871/0.7513, allocations: 0.7168 MB / 1.284 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.7514, allocations: 55.86 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7514, allocations: 0 / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.7515, allocations: 23.98 kB / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.7518, allocations: 11.94 kB / 1.284 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.7532, allocations: 1.386 MB / 1.285 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.7534, allocations: 0.6807 MB / 1.286 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.7535, allocations: 4 kB / 1.286 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.7535, allocations: 27.36 kB / 1.286 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.7535, allocations: 0 / 1.286 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.7764, allocations: 1.779 MB / 1.288 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.589, allocations: 11.44 kB / 1.288 GB, free: 3.082 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable offTim1.u in file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim1.u from file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim2.u from file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.421268303878605]