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.001043/0.001043, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.0009383/0.0009383, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9531/0.9531, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.941/1.941, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 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 0.001563/0.001563, allocations: 73.16 kB / 1.177 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3087, allocations: 180 MB / 1.352 GB, free: 9.25 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002284/0.3109, allocations: 1.492 MB / 1.354 GB, free: 7.75 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.3116, allocations: 450.9 kB / 1.354 GB, free: 7.305 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.3116, allocations: 0 / 1.354 GB, free: 7.305 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.3117, allocations: 3.938 kB / 1.354 GB, free: 7.301 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.3117, allocations: 15.91 kB / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.3119, allocations: 19.98 kB / 1.354 GB, free: 7.266 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.312, allocations: 51.84 kB / 1.354 GB, free: 7.215 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3121, allocations: 12 kB / 1.354 GB, free: 7.203 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.3121, allocations: 23.91 kB / 1.354 GB, free: 7.18 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.3122, allocations: 15.92 kB / 1.354 GB, free: 7.164 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3122, allocations: 4 kB / 1.354 GB, free: 7.16 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.3122, allocations: 8 kB / 1.354 GB, free: 7.152 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.3122, allocations: 11.92 kB / 1.354 GB, free: 7.141 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3123, allocations: 23.92 kB / 1.354 GB, free: 7.117 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3124, allocations: 44.03 kB / 1.355 GB, free: 7.074 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3124, allocations: 4 kB / 1.355 GB, free: 7.07 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3124, allocations: 0 / 1.355 GB, free: 7.07 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3124, allocations: 0 / 1.355 GB, free: 7.07 MB / 1.042 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.0004162/0.3128, allocations: 286.2 kB / 1.355 GB, free: 6.762 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3128, allocations: 16.86 kB / 1.355 GB, free: 6.746 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.3129, allocations: 34.75 kB / 1.355 GB, free: 6.703 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.3129, allocations: 8.922 kB / 1.355 GB, free: 6.695 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.313, allocations: 114.4 kB / 1.355 GB, free: 6.559 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.313, allocations: 4.375 kB / 1.355 GB, free: 6.555 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.313, allocations: 4.375 kB / 1.355 GB, free: 6.551 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.3131, allocations: 65.73 kB / 1.355 GB, free: 6.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3131, allocations: 0 / 1.355 GB, free: 6.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3131, allocations: 0 / 1.355 GB, free: 6.48 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3131, allocations: 4 kB / 1.355 GB, free: 6.477 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.285e-05/0.3132, allocations: 27.98 kB / 1.355 GB, free: 6.449 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3136, allocations: 263.8 kB / 1.355 GB, free: 6.148 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.3137, allocations: 46.56 kB / 1.355 GB, free: 6.094 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.3137, allocations: 24.95 kB / 1.355 GB, free: 6.066 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3137, allocations: 3.984 kB / 1.355 GB, free: 6.062 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3139, allocations: 75.41 kB / 1.355 GB, free: 5.977 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3139, allocations: 4 kB / 1.355 GB, free: 5.973 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001945/0.3141, allocations: 101.6 kB / 1.356 GB, free: 5.867 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.3141, allocations: 51.41 kB / 1.356 GB, free: 5.805 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.3142, allocations: 109.8 kB / 1.356 GB, free: 5.688 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3142, allocations: 29.69 kB / 1.356 GB, free: 5.652 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.3142, allocations: 88.14 kB / 1.356 GB, free: 5.562 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3142, allocations: 28.16 kB / 1.356 GB, free: 5.535 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3143, allocations: 25.7 kB / 1.356 GB, free: 5.504 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.3143, allocations: 318.8 kB / 1.356 GB, free: 5.184 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.3144, allocations: 19.98 kB / 1.356 GB, free: 5.164 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.3144, allocations: 51.3 kB / 1.356 GB, free: 5.102 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.3145, allocations: 71.38 kB / 1.356 GB, free: 5.02 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3145, allocations: 0 / 1.356 GB, free: 5.02 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001047/0.3146, allocations: 105.5 kB / 1.356 GB, free: 4.91 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3146, allocations: 4 kB / 1.356 GB, free: 4.906 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3146, allocations: 0 / 1.356 GB, free: 4.906 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3146, allocations: 4 kB / 1.356 GB, free: 4.902 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.3147, allocations: 11.98 kB / 1.356 GB, free: 4.891 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3147, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3147, allocations: 4 kB / 1.356 GB, free: 4.887 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3147, allocations: 11.97 kB / 1.356 GB, free: 4.875 MB / 1.042 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 7.014e-05/0.3148, allocations: 128.9 kB / 1.357 GB, free: 4.742 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.3148, allocations: 7.953 kB / 1.357 GB, free: 4.734 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.3148, allocations: 8.062 kB / 1.357 GB, free: 4.723 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3148, allocations: 4 kB / 1.357 GB, free: 4.719 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3149, allocations: 0 / 1.357 GB, free: 4.719 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3149, allocations: 0 / 1.357 GB, free: 4.719 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3151, allocations: 321.5 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3152, allocations: 0 / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.3152, allocations: 8 kB / 1.357 GB, free: 4.348 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3152, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3152, allocations: 4.281 kB / 1.357 GB, free: 4.344 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3152, allocations: 7.922 kB / 1.357 GB, free: 4.336 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3152, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.3153, allocations: 183.4 kB / 1.357 GB, free: 4.141 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.3153, allocations: 7.984 kB / 1.357 GB, free: 4.133 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3153, allocations: 3.984 kB / 1.357 GB, free: 4.129 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.3154, allocations: 7.938 kB / 1.357 GB, free: 4.121 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3154, allocations: 12.17 kB / 1.357 GB, free: 4.109 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3154, allocations: 4.062 kB / 1.357 GB, free: 4.105 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.3155, allocations: 95.2 kB / 1.357 GB, free: 4.012 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.3155, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001603/0.3156, allocations: 11.95 kB / 1.357 GB, free: 4 MB / 1.042 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.0002907/0.3159, allocations: 0.7163 MB / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.316, allocations: 51.92 kB / 1.358 GB, free: 3.207 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.316, allocations: 0 / 1.358 GB, free: 3.207 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.3161, allocations: 31.86 kB / 1.358 GB, free: 3.176 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3163, allocations: 11.94 kB / 1.358 GB, free: 3.164 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.3173, allocations: 1.38 MB / 1.359 GB, free: 1.688 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.3173, allocations: 67.34 kB / 1.359 GB, free: 1.602 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.3173, allocations: 7.984 kB / 1.359 GB, free: 1.594 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3174, allocations: 15.44 kB / 1.359 GB, free: 1.582 MB / 1.042 GB Notification: Performance of SimCode: time 6.32e-07/0.3174, allocations: 0 / 1.359 GB, free: 1.582 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/0.3959, allocations: 2.338 MB / 1.362 GB, free: 15.39 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.236, allocations: 12.97 kB / 1.362 GB, free: 15.38 MB / 1.057 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: 12.42819776199758]