Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001252/0.001252, allocations: 115.5 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001354/0.001354, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 2.924/2.924, allocations: 0.5003 GB / 0.8026 GB, free: 6.656 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Templates.Components.Controls.Validation.StatusEmulator,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_StatusEmulator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.StatusEmulator,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_StatusEmulator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.013, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.002979/1.016, allocations: 1.793 MB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001185/1.017, allocations: 0.6969 MB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/1.017, allocations: 3.219 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/1.017, allocations: 30.62 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/1.017, allocations: 29.95 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/1.018, allocations: 254.3 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000427/1.018, allocations: 406.5 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/1.018, allocations: 185.9 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/1.019, allocations: 133.1 kB / 1.344 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/1.019, allocations: 136.7 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/1.019, allocations: 37.75 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/1.019, allocations: 68.92 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/1.019, allocations: 74.2 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/1.019, allocations: 139.5 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/1.02, allocations: 413.5 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.02, allocations: 5.375 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.02, allocations: 3.938 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.02, allocations: 0 / 1.344 GB, free: 13.57 MB / 1.061 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.0007563/1.02, allocations: 0.5585 MB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.02, allocations: 9.625 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.652e-05/1.02, allocations: 6.25 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/1.021, allocations: 62.06 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/1.021, allocations: 46.77 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/1.021, allocations: 264.2 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/1.021, allocations: 23.48 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/1.021, allocations: 30.38 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/1.022, allocations: 279.1 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.022, allocations: 0 / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/1.022, allocations: 11.38 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.022, allocations: 6.875 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/1.022, allocations: 185.2 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.023, allocations: 0.8591 MB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/1.023, allocations: 159 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/1.023, allocations: 89.62 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.023, allocations: 2.656 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/1.024, allocations: 144.3 kB / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/1.024, allocations: 0 / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0004812/1.024, allocations: 270.8 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.024, allocations: 60.48 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.024, allocations: 162.1 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.024, allocations: 45.28 kB / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/1.024, allocations: 134.7 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/1.025, allocations: 74.53 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.025, allocations: 89.38 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.025, allocations: 332.8 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/1.025, allocations: 98 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/1.025, allocations: 164 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.025, allocations: 249 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.025, allocations: 0 / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000536/1.026, allocations: 353.3 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.026, allocations: 35.86 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.026, allocations: 3.062 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.026, allocations: 3.406 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/1.026, allocations: 35.56 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.026, allocations: 3.594 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/1.026, allocations: 51.58 kB / 1.349 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.026, allocations: 17.38 kB / 1.349 GB, free: 10.23 MB / 1.061 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.00013/1.027, allocations: 169.7 kB / 1.349 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/1.027, allocations: 27.2 kB / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/1.027, allocations: 20.97 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.027, allocations: 3.188 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.027, allocations: 0.7031 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.027, allocations: 1.984 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/1.027, allocations: 0.6306 MB / 1.35 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.027, allocations: 5.75 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/1.027, allocations: 14.55 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.027, allocations: 1.469 kB / 1.35 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/1.027, allocations: 10.62 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.027, allocations: 5.469 kB / 1.35 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.027, allocations: 0.75 kB / 1.35 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/1.028, allocations: 314 kB / 1.35 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/1.028, allocations: 94.77 kB / 1.35 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/1.028, allocations: 11.5 kB / 1.35 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/1.028, allocations: 4.031 kB / 1.35 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/1.028, allocations: 33.5 kB / 1.35 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.028, allocations: 6.484 kB / 1.35 GB, free: 9.242 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.987e-05/1.028, allocations: 110.9 kB / 1.351 GB, free: 9.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 0 / 1.351 GB, free: 9.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003238/1.028, allocations: 61.86 kB / 1.351 GB, free: 9.137 MB / 1.061 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.0005264/1.029, allocations: 0.8433 MB / 1.351 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004524/1.029, allocations: 278.7 kB / 1.352 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.029, allocations: 0.75 kB / 1.352 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.03, allocations: 81.86 kB / 1.352 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/1.03, allocations: 38.84 kB / 1.352 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/1.032, allocations: 2.381 MB / 1.354 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/1.033, allocations: 0.7414 MB / 1.355 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.911e-05/1.033, allocations: 21.17 kB / 1.355 GB, free: 5.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.033, allocations: 67.66 kB / 1.355 GB, free: 5.695 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.033, allocations: 7.938 kB / 1.355 GB, free: 5.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/1.057, allocations: 4.752 MB / 1.36 GB, free: 5.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/9.506, allocations: 3.938 kB / 1.36 GB, free: 5.059 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_StatusEmulator_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_StatusEmulator.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.932984113984276] Failed to read output from testmodel.py, exit status != 0: 9.631591411016416 9.649249261 8.626003257 Calling exit ...