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.00133/0.00133, allocations: 102.9 kB / 16.45 MB, free: 6.504 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.001466/0.001466, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.205/3.205, allocations: 0.505 GB / 0.8066 GB, free: 23.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.00196/0.00196, allocations: 64.97 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3593, allocations: 180.2 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002569/0.3619, allocations: 1.498 MB / 1.349 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.3627, allocations: 482.8 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.3627, allocations: 0 / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.3627, allocations: 3.938 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.3628, allocations: 7.875 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.3629, allocations: 23.97 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.363, allocations: 59.78 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.3631, allocations: 11.98 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.3631, allocations: 15.98 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.3632, allocations: 27.86 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3632, allocations: 4 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3633, allocations: 4 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3633, allocations: 7.984 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3633, allocations: 31.84 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.3634, allocations: 44.05 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3634, allocations: 3.938 kB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3634, allocations: 4 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3634, allocations: 0 / 1.35 GB, free: 7.809 MB / 1.045 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.0004912/0.3639, allocations: 363.3 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.364, allocations: 15.98 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.364, allocations: 34.75 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.364, allocations: 4.938 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3641, allocations: 168.4 kB / 1.35 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3642, allocations: 384 / 1.35 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3642, allocations: 8.375 kB / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.3643, allocations: 69.73 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3643, allocations: 0 / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3643, allocations: 0 / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3643, allocations: 3.938 kB / 1.351 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/0.3644, allocations: 27.98 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.3648, allocations: 300.7 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3649, allocations: 54.56 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.365, allocations: 24.92 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.365, allocations: 4 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3651, allocations: 75.38 kB / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3651, allocations: 0 / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002108/0.3653, allocations: 97.89 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3654, allocations: 55.41 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.3655, allocations: 109.8 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3655, allocations: 25.8 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.3655, allocations: 100 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3656, allocations: 23.8 kB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3656, allocations: 25.7 kB / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3657, allocations: 318.8 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.3658, allocations: 19.98 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.3658, allocations: 47.42 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.3659, allocations: 63.38 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3659, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.366, allocations: 89.67 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3661, allocations: 8 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3661, allocations: 8.031 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3661, allocations: 3.938 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.3661, allocations: 12 kB / 1.352 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3662, allocations: 7.984 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.3662, allocations: 7.953 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3662, allocations: 7.938 kB / 1.352 GB, free: 5.41 MB / 1.045 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 8.946e-05/0.3663, allocations: 119.5 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3663, allocations: 11.88 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3664, allocations: 11.95 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3664, allocations: 0 / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3664, allocations: 0 / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3664, allocations: 0 / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.3668, allocations: 370.3 kB / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3668, allocations: 288 / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.3668, allocations: 0 / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3668, allocations: 4 kB / 1.352 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3668, allocations: 0 / 1.352 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3668, allocations: 3.938 kB / 1.352 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3668, allocations: 7.984 kB / 1.352 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.367, allocations: 187.5 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.367, allocations: 81.11 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3671, allocations: 3.984 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.3671, allocations: 7.938 kB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3672, allocations: 11.98 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3672, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.3672, allocations: 87.28 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3672, allocations: 0 / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002294/0.3675, allocations: 15.98 kB / 1.353 GB, free: 4.398 MB / 1.045 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.0004704/0.3679, allocations: 0.7143 MB / 1.354 GB, free: 3.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.3681, allocations: 55.86 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3681, allocations: 0 / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.3681, allocations: 23.98 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3684, allocations: 16.09 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3698, allocations: 1.385 MB / 1.355 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3701, allocations: 0.6807 MB / 1.356 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.3701, allocations: 7.938 kB / 1.356 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3702, allocations: 19.8 kB / 1.356 GB, free: 1.352 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3702, allocations: 0 / 1.356 GB, free: 1.352 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3946, allocations: 1.777 MB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.989, allocations: 14.03 kB / 1.357 GB, free: 15.66 MB / 1.061 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim1.u from file Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim2.u from file Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.799707002006471]