Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001133/0.001133, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001266/0.001266, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.96/0.96, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.86/1.86, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.487e-05, allocations: 2.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002154/0.002179, allocations: 1.482 MB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.002957, allocations: 459.6 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.003006, allocations: 4 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.003037, allocations: 7.875 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.003125, allocations: 3.938 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.003288, allocations: 23.86 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.003387, allocations: 55.83 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003505, allocations: 7.984 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.003578, allocations: 27.98 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.003649, allocations: 23.89 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003671, allocations: 4 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.003683, allocations: 4 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003706, allocations: 11.98 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.003756, allocations: 19.92 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003868, allocations: 39.88 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00387, allocations: 3.938 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003871, allocations: 7.938 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003876, allocations: 0 / 1.003 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.0004756/0.004351, allocations: 282.3 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.004404, allocations: 17.34 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.004447, allocations: 34.75 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.004475, allocations: 8.891 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.004574, allocations: 113.7 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.004588, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.004599, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.00471, allocations: 62.19 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004721, allocations: 4.172 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004732, allocations: 4.125 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.004737, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.004796, allocations: 27.98 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.005242, allocations: 267.8 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.005361, allocations: 50.56 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.005401, allocations: 20.94 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.005409, allocations: 4 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.005588, allocations: 83.34 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005589, allocations: 0 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002191/0.005808, allocations: 97.58 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.00585, allocations: 63.39 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.00607, allocations: 105.9 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.006085, allocations: 25.7 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.006127, allocations: 96.08 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.006149, allocations: 15.89 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.006192, allocations: 33.7 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.006288, allocations: 314.8 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.00632, allocations: 15.98 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.006372, allocations: 51.55 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.006455, allocations: 67.36 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.006457, allocations: 4 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.006591, allocations: 97.56 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.006604, allocations: 8 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006609, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.006623, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.00669, allocations: 11.94 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.006699, allocations: 11.97 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.006747, allocations: 7.938 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006754, allocations: 4 kB / 1.005 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 8.359e-05/0.006838, allocations: 128.4 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.00685, allocations: 7.953 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.006879, allocations: 12.11 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006882, allocations: 0 / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.006887, allocations: 3.938 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006891, allocations: 4 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.007251, allocations: 321.9 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007253, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.007273, allocations: 4 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007276, allocations: 96 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.007285, allocations: 7.938 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007287, allocations: 4 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.007289, allocations: 4.062 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.007423, allocations: 183.4 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.007435, allocations: 7.953 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007448, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.007513, allocations: 7.984 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.007559, allocations: 11.98 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.007566, allocations: 3.938 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.007602, allocations: 83.36 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007602, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002384/0.00784, allocations: 23.94 kB / 1.005 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.0003716/0.008212, allocations: 0.7126 MB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.00834, allocations: 55.8 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008342, allocations: 4 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.008385, allocations: 19.98 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.008663, allocations: 15.94 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.009981, allocations: 1.387 MB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.01004, allocations: 71.25 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.01007, allocations: 3.984 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.01012, allocations: 16.5 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/0.01012, allocations: 4 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.1329, allocations: 2.462 MB / 1.01 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.088, allocations: 11.92 kB / 1.01 GB, free: 3.551 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Continuous_Examples_OffTimer.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_Continuous_Examples_OffTimer.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.OffTimer_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.715538376010954]