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.0008621/0.0008621, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001088/0.001088, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8885/0.8885, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.811/1.811, allocations: 389 MB / 0.633 GB, free: 12.68 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 2.084e-06/2.084e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.278e-05, allocations: 9.234 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001945/0.001968, allocations: 1.474 MB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.002595, allocations: 451.6 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.002633, allocations: 4 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.002662, allocations: 3.938 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.002739, allocations: 7.922 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.002889, allocations: 27.84 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.002967, allocations: 51.84 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.003062, allocations: 8 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.003126, allocations: 35.89 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.00318, allocations: 11.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.003204, allocations: 8 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.003213, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.003234, allocations: 15.92 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.003268, allocations: 15.97 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.003362, allocations: 47.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003364, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003365, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.003374, allocations: 0 / 1.002 GB, free: 11.36 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.0003925/0.003767, allocations: 282.3 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.003808, allocations: 16.75 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.003841, allocations: 34.73 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.003866, allocations: 8.891 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.003962, allocations: 113.7 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.003973, allocations: 384 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.003985, allocations: 8.375 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00409, allocations: 66.17 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.0041, allocations: 4.172 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004111, allocations: 8.125 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004115, allocations: 0 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.00417, allocations: 23.98 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.00457, allocations: 267.8 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.004664, allocations: 50.56 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.004699, allocations: 24.94 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.004708, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.004856, allocations: 75.36 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.004857, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001911/0.005048, allocations: 105.6 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.005082, allocations: 55.41 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.005138, allocations: 109.8 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005151, allocations: 29.7 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.005186, allocations: 88.09 kB / 1.003 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.005205, allocations: 19.88 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.005239, allocations: 33.66 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.005321, allocations: 322.8 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.005346, allocations: 16 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.005384, allocations: 43.42 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.005447, allocations: 67.36 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005449, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.248e-05/0.005542, allocations: 97.58 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005555, allocations: 11.92 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.00556, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005571, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.005625, allocations: 8 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.00563, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.005669, allocations: 11.92 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.005676, allocations: 8 kB / 1.004 GB, free: 9.172 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.739e-05/0.005743, allocations: 122 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.005752, allocations: 15.97 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005774, allocations: 8.125 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.005775, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.005781, allocations: 4.062 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.005786, allocations: 4 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.006047, allocations: 325.8 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006049, allocations: 0 / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.006063, allocations: 7.984 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006065, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006073, allocations: 4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006074, allocations: 4 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006075, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006179, allocations: 183.4 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006188, allocations: 7.953 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.006198, allocations: 0 / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.006247, allocations: 15.92 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.006287, allocations: 7.984 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.006292, allocations: 3.938 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.836e-05/0.006321, allocations: 83.28 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006321, allocations: 4 kB / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001542/0.006475, allocations: 11.94 kB / 1.004 GB, free: 8.297 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.0002705/0.006745, allocations: 0.7202 MB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.006844, allocations: 47.91 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006845, allocations: 0 / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.00688, allocations: 20 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.007068, allocations: 20.39 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.007949, allocations: 1.383 MB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.007996, allocations: 83.3 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.008019, allocations: 4 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.008058, allocations: 20.48 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of SimCode: time 4.5e-07/0.008058, allocations: 3.938 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.0223, allocations: 2.475 MB / 1.009 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.617, allocations: 4 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.815525339916348]