Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.0008782/0.0008782, allocations: 100.3 kB / 19.72 MB, free: 428 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.001049/0.001049, allocations: 215.3 kB / 23.03 MB, free: 2.969 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.9944/0.9944, allocations: 230.6 MB / 256.8 MB, free: 9.566 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 2.117/2.117, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] 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.Templates.Components.Controls.Validation.StatusEmulator,fileNamePrefix="Buildings_13_Buildings_Templates_Components_Controls_Validation_StatusEmulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.StatusEmulator,fileNamePrefix="Buildings_13_Buildings_Templates_Components_Controls_Validation_StatusEmulator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 63.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8057, allocations: 180 MB / 1.352 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.00312/0.8088, allocations: 1.77 MB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.81, allocations: 0.674 MB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.8101, allocations: 7.938 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.8102, allocations: 31.67 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.8103, allocations: 23.73 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.8109, allocations: 265.7 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.8113, allocations: 411.4 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.8116, allocations: 179.1 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.8117, allocations: 139.6 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.8118, allocations: 115.5 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.8119, allocations: 36 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.8119, allocations: 59.97 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.812, allocations: 67.78 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.8121, allocations: 127.5 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.8125, allocations: 416.9 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8125, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8125, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.8125, allocations: 0 / 1.357 GB, free: 13.32 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006149/0.8131, allocations: 486.7 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8131, allocations: 8.922 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.8132, allocations: 58.72 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.8134, allocations: 44.78 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.8137, allocations: 210.1 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.8137, allocations: 32.8 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.8138, allocations: 28.38 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.8141, allocations: 271.3 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8141, allocations: 3.938 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.8141, allocations: 12 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8141, allocations: 4 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.8144, allocations: 189.8 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.8152, allocations: 0.7334 MB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.8154, allocations: 161.5 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.8155, allocations: 84.69 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.8155, allocations: 3.938 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.8157, allocations: 158 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=27): time 2.605e-06/0.8157, allocations: 0 / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=27): time 0.0003759/0.8161, allocations: 265 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.8161, allocations: 59.41 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.8162, allocations: 161.6 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.8162, allocations: 41.7 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.8163, allocations: 144.8 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.8164, allocations: 71.47 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.8164, allocations: 93.45 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.8165, allocations: 330.8 kB / 1.36 GB, free: 9.527 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8167, allocations: 129.6 kB / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.8168, allocations: 192.8 kB / 1.36 GB, free: 9.172 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.8171, allocations: 242.9 kB / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8171, allocations: 0 / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003737/0.8175, allocations: 386 kB / 1.361 GB, free: 8.512 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.8176, allocations: 41.69 kB / 1.361 GB, free: 8.465 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8176, allocations: 0 / 1.361 GB, free: 8.465 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8176, allocations: 4 kB / 1.361 GB, free: 8.461 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.8177, allocations: 31.86 kB / 1.361 GB, free: 8.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.8177, allocations: 12.16 kB / 1.361 GB, free: 8.418 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8178, allocations: 47.81 kB / 1.361 GB, free: 8.371 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8178, allocations: 15.98 kB / 1.361 GB, free: 8.355 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.sta.offToOn.enableFire,$PRE.sta.onToOff.enableFire,$whenCondition1,$whenCondition2,sta.onToOff.t_start,$PRE.sta.onToOff.t_start,sta.onToOff.fire,sta.onToOff.enableFire,sta.on.active,sta.on.oldActive,$PRE.sta.on.oldActive,sta.on.newActive,$PRE.sta.on.newActive,sta.on.localActive,$PRE.sta.on.localActive,sta.offToOn.t_start,$PRE.sta.offToOn.t_start,sta.offToOn.fire,sta.offToOn.enableFire,sta.off.active,sta.off.oldActive,$PRE.sta.off.oldActive,sta.off.newActive,$PRE.sta.off.newActive,sta.off.localActive,$PRE.sta.off.localActive,sta.stateGraphRoot.activeSteps,y1.y,$PRE.y1.y,$whenCondition3,$whenCondition4,sta.stateGraphRoot.resume,sta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000131/0.818, allocations: 178.3 kB / 1.361 GB, free: 8.176 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.818, allocations: 11.89 kB / 1.361 GB, free: 8.164 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.818, allocations: 21.97 kB / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.818, allocations: 8 kB / 1.361 GB, free: 8.129 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.818, allocations: 0 / 1.361 GB, free: 8.129 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.818, allocations: 0 / 1.361 GB, free: 8.129 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.8186, allocations: 0.5799 MB / 1.362 GB, free: 7.496 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8186, allocations: 0 / 1.362 GB, free: 7.496 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.8187, allocations: 19.94 kB / 1.362 GB, free: 7.477 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8187, allocations: 0 / 1.362 GB, free: 7.477 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.8187, allocations: 11.98 kB / 1.362 GB, free: 7.465 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8187, allocations: 0 / 1.362 GB, free: 7.465 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8187, allocations: 0 / 1.362 GB, free: 7.465 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.8189, allocations: 312.1 kB / 1.362 GB, free: 7.145 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.8189, allocations: 19.84 kB / 1.362 GB, free: 7.125 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.819, allocations: 4 kB / 1.362 GB, free: 7.121 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.819, allocations: 11.98 kB / 1.362 GB, free: 7.109 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.8191, allocations: 23.97 kB / 1.362 GB, free: 7.086 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.8191, allocations: 11.98 kB / 1.362 GB, free: 7.074 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.8192, allocations: 105.5 kB / 1.362 GB, free: 6.973 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8192, allocations: 0 / 1.362 GB, free: 6.973 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002207/0.8194, allocations: 67.83 kB / 1.363 GB, free: 6.906 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: 20 (sta.offToOn.enableFire,sta.onToOff.enableFire,sta.on.active,sta.off.active,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,y1.y,sta.stateGraphRoot.activeSteps,sta.off.localActive,sta.off.newActive,sta.off.oldActive,sta.offToOn.fire,sta.offToOn.t_start,sta.on.localActive,sta.on.newActive,sta.on.oldActive,sta.onToOff.fire,sta.onToOff.t_start) * Number of discrete states: 2 (sta.off.newActive,sta.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005192/0.8199, allocations: 0.8611 MB / 1.363 GB, free: 6.016 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.8202, allocations: 301.4 kB / 1.364 GB, free: 5.703 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8202, allocations: 0 / 1.364 GB, free: 5.703 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.8203, allocations: 87.91 kB / 1.364 GB, free: 5.617 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.8206, allocations: 35.89 kB / 1.364 GB, free: 5.582 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.8226, allocations: 2.495 MB / 1.366 GB, free: 2.938 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.8227, allocations: 125.6 kB / 1.366 GB, free: 2.793 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.398e-05/0.8228, allocations: 29.94 kB / 1.366 GB, free: 2.766 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.8229, allocations: 67.41 kB / 1.366 GB, free: 2.699 MB / 1.042 GB Notification: Performance of SimCode: time 1.433e-06/0.8229, allocations: 0 / 1.366 GB, free: 2.699 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08636/0.9092, allocations: 5.444 MB / 1.372 GB, free: 13.43 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.77, allocations: 6.422 kB / 1.372 GB, free: 13.43 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Components_Controls_Validation_StatusEmulator_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Components_Controls_Validation_StatusEmulator.fmu) > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ../Buildings_13_Buildings_Templates_Components_Controls_Validation_StatusEmulator.fmu) > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.874284169636667]