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.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.001435/0.001435, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001471/0.001471, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.88 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7683, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002034/0.7703, allocations: 1.505 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005419/0.7709, allocations: 449.3 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.7709, allocations: 0.9375 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.771, allocations: 5.203 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.771, allocations: 7.125 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.7711, allocations: 29.3 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.7712, allocations: 47.2 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.7713, allocations: 10.61 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.7714, allocations: 18.86 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.7714, allocations: 26.52 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.7714, allocations: 4.531 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.7714, allocations: 9.094 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.7715, allocations: 16.19 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.7715, allocations: 24.73 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.318e-05/0.7716, allocations: 42.39 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7716, allocations: 0 / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7716, allocations: 0.6875 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7716, allocations: 0 / 1.273 GB, free: 6.281 MB / 0.9981 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.0003815/0.772, allocations: 361.1 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.772, allocations: 10.55 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.772, allocations: 37.48 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.7721, allocations: 3.562 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.7721, allocations: 173 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.7722, allocations: 3.469 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.7722, allocations: 8.5 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.7723, allocations: 62.05 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.7723, allocations: 0 / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.7723, allocations: 0.9062 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.7723, allocations: 5.531 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.7723, allocations: 30.48 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.7727, allocations: 304.5 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.7728, allocations: 50.03 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.7728, allocations: 21.33 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.7728, allocations: 9.438 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.7729, allocations: 73.16 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.7729, allocations: 0.7812 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0001963/0.7731, allocations: 95.8 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.7732, allocations: 54.61 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.7732, allocations: 111.8 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.7732, allocations: 28.11 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.7732, allocations: 90.2 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.7733, allocations: 22.08 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.7733, allocations: 27.06 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.7734, allocations: 318.3 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.7734, allocations: 21.8 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.7734, allocations: 46.98 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.7735, allocations: 69.47 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7735, allocations: 0 / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.7736, allocations: 106.1 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.7736, allocations: 5.062 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7736, allocations: 2.766 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.7736, allocations: 1.875 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.7737, allocations: 10.66 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7737, allocations: 2 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.7738, allocations: 12.06 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.7738, allocations: 8 kB / 1.276 GB, free: 4.312 MB / 0.9981 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 4.769e-05/0.7738, allocations: 124.8 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.7738, allocations: 7.25 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.7739, allocations: 9.359 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7739, allocations: 4.516 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7739, allocations: 0 / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7739, allocations: 4.875 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.7741, allocations: 361.7 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7741, allocations: 0 / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.7742, allocations: 4.984 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7742, allocations: 0.8438 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.7742, allocations: 1.703 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7742, allocations: 4.438 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7742, allocations: 1 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.7743, allocations: 187.5 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.7743, allocations: 79.08 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.7743, allocations: 5.031 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.7744, allocations: 9.875 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.7744, allocations: 11.14 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.7744, allocations: 3.766 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.7745, allocations: 89.88 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7745, allocations: 0.7812 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002225/0.7747, allocations: 18.73 kB / 1.276 GB, free: 3.473 MB / 0.9981 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.0002472/0.7749, allocations: 0.7124 MB / 1.277 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.7751, allocations: 52.98 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.7751, allocations: 1.062 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.7751, allocations: 25.31 kB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.7753, allocations: 21.58 kB / 1.277 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.7763, allocations: 1.375 MB / 1.279 GB, free: 17.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.7766, allocations: 0.6893 MB / 1.279 GB, free: 16.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.7766, allocations: 8.547 kB / 1.279 GB, free: 16.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.7766, allocations: 17.45 kB / 1.279 GB, free: 16.76 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.7766, allocations: 1.062 kB / 1.279 GB, free: 16.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.8001, allocations: 1.764 MB / 1.281 GB, free: 16.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/7.846, allocations: 7.703 kB / 1.281 GB, free: 16.36 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.19972030200006]