Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.002038/0.002038, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.002523/0.002523, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.021/3.021, allocations: 0.5003 GB / 0.8026 GB, free: 6.789 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.002083/0.002083, allocations: 70.08 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9162, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002019/0.9182, allocations: 0.8196 MB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.9196, allocations: 1.188 MB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.9196, allocations: 1.188 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.9196, allocations: 13.19 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.9197, allocations: 15.55 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.9202, allocations: 138.8 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.9204, allocations: 146.2 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.9205, allocations: 28.72 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.9206, allocations: 52.64 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.9207, allocations: 59.34 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.9207, allocations: 18.19 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.9208, allocations: 27.75 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.9208, allocations: 18.81 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.9209, allocations: 57.66 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.9211, allocations: 152.8 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.9211, allocations: 0 / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9211, allocations: 0 / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9211, allocations: 0 / 1.343 GB, free: 14.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005585/0.9216, allocations: 439 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9217, allocations: 14.41 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.565e-05/0.9217, allocations: 1.438 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.338e-05/0.9217, allocations: 37.59 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.9218, allocations: 12.77 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.9218, allocations: 173.4 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.9219, allocations: 13.06 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.9219, allocations: 12.75 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.9221, allocations: 86.75 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.9221, allocations: 4 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.9221, allocations: 10.06 kB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9221, allocations: 1 kB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.9224, allocations: 57.72 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.9229, allocations: 377 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.923, allocations: 53.62 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.9231, allocations: 27.62 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.9231, allocations: 0.75 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.9234, allocations: 89.03 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.9234, allocations: 0 / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004455/0.9238, allocations: 125.9 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.9239, allocations: 57.33 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.9239, allocations: 135.7 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.924, allocations: 28.45 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.924, allocations: 100.1 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.924, allocations: 11.83 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.9241, allocations: 42.61 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.9241, allocations: 318.6 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.9243, allocations: 52.92 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.9245, allocations: 84.91 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.9247, allocations: 122.2 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9247, allocations: 0 / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004268/0.9251, allocations: 195.7 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.9252, allocations: 34.8 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9252, allocations: 1.188 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9252, allocations: 5.906 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.9253, allocations: 7.984 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9253, allocations: 5.625 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.9255, allocations: 39.83 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.9256, allocations: 11.41 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 7.516e-05/0.9256, allocations: 123.9 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.9257, allocations: 11.66 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.9257, allocations: 10.58 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9257, allocations: 1.375 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9257, allocations: 3.938 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.9257, allocations: 2.172 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.9258, allocations: 191.8 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9258, allocations: 0 / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.9259, allocations: 12.98 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.9259, allocations: 0 / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9259, allocations: 1.734 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9259, allocations: 5.062 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9259, allocations: 4.594 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.9262, allocations: 120.9 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.9262, allocations: 84.89 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.9262, allocations: 0.6562 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.9263, allocations: 14.31 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.9263, allocations: 17.47 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.9263, allocations: 2.047 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.9264, allocations: 96.73 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9264, allocations: 0 / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002328/0.9266, allocations: 22.27 kB / 1.346 GB, free: 11.71 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005032/0.9271, allocations: 0.6705 MB / 1.347 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.9275, allocations: 152.9 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9275, allocations: 1.594 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.9276, allocations: 29.27 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.9278, allocations: 32.98 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.9295, allocations: 1.614 MB / 1.349 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.9296, allocations: 0.6917 MB / 1.349 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.9297, allocations: 4.016 kB / 1.349 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.9297, allocations: 25.98 kB / 1.349 GB, free: 8.914 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.9297, allocations: 0 / 1.349 GB, free: 8.914 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.9512, allocations: 2.855 MB / 1.352 GB, free: 8.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/9.025, allocations: 19.7 kB / 1.352 GB, free: 8.445 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.51210865098983] Failed to read output from testmodel.py, exit status != 0: 9.151819607999641 9.163521604 8.239897044 Calling exit ...