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.00079/0.00079, 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.0007922/0.0007922, allocations: 177.2 kB / 23.23 MB, free: 1.328 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.9027/0.9027, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.871/1.871, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 1.893e-06/1.893e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.824e-05, allocations: 9.875 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002563/0.002591, allocations: 1.748 MB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003755, allocations: 0.6969 MB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.003892, allocations: 7.938 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.004054, allocations: 27.67 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.004125, allocations: 23.78 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.005012, allocations: 270.9 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.005495, allocations: 423.2 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.005803, allocations: 179.3 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.005996, allocations: 207.7 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.006449, allocations: 95.72 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.006488, allocations: 43.94 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006592, allocations: 55.98 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.006667, allocations: 71.8 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.006766, allocations: 103.8 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.007287, allocations: 450.7 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.007291, allocations: 3.938 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.184e-06/0.007293, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.007305, allocations: 0 / 1.005 GB, free: 9.188 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007616/0.008066, allocations: 478.8 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.008118, allocations: 13.34 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.008182, allocations: 62.72 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.008414, allocations: 36.78 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.008788, allocations: 205.4 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.008831, allocations: 32.86 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.008867, allocations: 32.38 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.009246, allocations: 263.3 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.009259, allocations: 4.188 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.00928, allocations: 8.375 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.00929, allocations: 16.06 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.009518, allocations: 177.9 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.01043, allocations: 0.741 MB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.01066, allocations: 158.9 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.01075, allocations: 84.77 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01077, allocations: 4 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.01097, allocations: 149 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 2.435e-06/0.01097, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0004135/0.01139, allocations: 267.6 kB / 1.008 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.01144, allocations: 71.31 kB / 1.008 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.01156, allocations: 153.7 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.0116, allocations: 41.7 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.0117, allocations: 144.8 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.01175, allocations: 71.47 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01185, allocations: 89.67 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.01194, allocations: 326.8 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.01217, allocations: 129.6 kB / 1.009 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.01239, allocations: 196.5 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.0127, allocations: 254.9 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.0127, allocations: 8 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005172/0.01322, allocations: 382 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.01327, allocations: 37.69 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01327, allocations: 0 / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01329, allocations: 7.938 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01341, allocations: 31.92 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01342, allocations: 4 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.0136, allocations: 52.03 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.01362, allocations: 23.97 kB / 1.009 GB, free: 4.211 MB / 0.9636 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.0001473/0.01377, allocations: 161.8 kB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01379, allocations: 19.89 kB / 1.01 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.01384, allocations: 17.97 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.01384, allocations: 7.938 kB / 1.01 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01385, allocations: 4 kB / 1.01 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01385, allocations: 3.938 kB / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.01455, allocations: 0.568 MB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01455, allocations: 0 / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.01461, allocations: 19.92 kB / 1.01 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01462, allocations: 4 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01463, allocations: 4 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01463, allocations: 0 / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01464, allocations: 4 kB / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.01493, allocations: 317.2 kB / 1.011 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.01495, allocations: 27.78 kB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.01498, allocations: 4 kB / 1.011 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.01505, allocations: 7.938 kB / 1.011 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.01513, allocations: 31.95 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01515, allocations: 4 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.01521, allocations: 109.3 kB / 1.011 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01521, allocations: 4 kB / 1.011 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003185/0.01553, allocations: 63.84 kB / 1.011 GB, free: 2.766 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: 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.0008336/0.01636, allocations: 0.8567 MB / 1.012 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.01679, allocations: 309.4 kB / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01679, allocations: 0 / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.01691, allocations: 83.91 kB / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.01724, allocations: 27.98 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.01994, allocations: 2.496 MB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.02006, allocations: 133.6 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.547e-05/0.02015, allocations: 25.94 kB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.02025, allocations: 64.42 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/0.02025, allocations: 0 / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/0.1466, allocations: 5.562 MB / 1.02 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.732, allocations: 10.5 kB / 1.02 GB, free: 9.18 MB / 0.9792 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.492893765680492]