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.00182/0.00182, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002198/0.002198, allocations: 210.8 kB / 23.04 MB, free: 5.078 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.16/3.16, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.001966/0.001966, allocations: 70.34 kB / 1.171 GB, free: 19.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 179 MB / 1.345 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00215/0.3304, allocations: 0.8181 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.332, allocations: 1.186 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.3321, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3321, allocations: 7.875 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.3322, allocations: 19.84 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.3327, allocations: 142.2 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.3329, allocations: 139.8 kB / 1.348 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.333, allocations: 27.97 kB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3331, allocations: 59.84 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3333, allocations: 59.8 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3333, allocations: 15.94 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.3334, allocations: 31.92 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3334, allocations: 19.92 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.3335, allocations: 55.78 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3337, allocations: 147.8 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3337, allocations: 4 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3337, allocations: 4 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3337, allocations: 0 / 1.348 GB, free: 13.85 MB / 1.045 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.000637/0.3343, allocations: 355.7 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3344, allocations: 8.031 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.219e-05/0.3344, allocations: 4.188 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.3344, allocations: 38.73 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.3345, allocations: 16.89 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3346, allocations: 122.4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3346, allocations: 8.375 kB / 1.349 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3346, allocations: 12.31 kB / 1.349 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3349, allocations: 89.95 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3349, allocations: 0 / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3349, allocations: 3.984 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3349, allocations: 4 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.3351, allocations: 59.95 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.3357, allocations: 355.6 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3358, allocations: 54.48 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3359, allocations: 28.94 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.336, allocations: 4 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3362, allocations: 83.36 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3362, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004549/0.3367, allocations: 129.5 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3367, allocations: 59.33 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3368, allocations: 133.8 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3369, allocations: 29.7 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.3369, allocations: 96.09 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.3369, allocations: 15.89 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.337, allocations: 37.7 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3372, allocations: 318.8 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3373, allocations: 47.97 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3375, allocations: 87.39 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.3378, allocations: 112.3 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3378, allocations: 3.938 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000443/0.3382, allocations: 207.3 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.3382, allocations: 33.7 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3382, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3383, allocations: 4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.3383, allocations: 7.984 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3384, allocations: 3.938 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.3386, allocations: 47.95 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3386, allocations: 8 kB / 1.35 GB, free: 11.03 MB / 1.045 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 0.0001064/0.3387, allocations: 129.2 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.3387, allocations: 7.953 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3388, allocations: 12.38 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3388, allocations: 0 / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3388, allocations: 3.938 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3388, allocations: 0 / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3389, allocations: 165 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3389, allocations: 0 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.339, allocations: 11.98 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.339, allocations: 4 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.339, allocations: 0 / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.339, allocations: 0 / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.339, allocations: 3.938 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3393, allocations: 129 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.3393, allocations: 7.953 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3393, allocations: 0 / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.3394, allocations: 11.98 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3394, allocations: 15.92 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3394, allocations: 3.984 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.3395, allocations: 91.28 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3395, allocations: 0 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002279/0.3397, allocations: 35.92 kB / 1.351 GB, free: 10.34 MB / 1.045 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.0006351/0.3404, allocations: 0.6554 MB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.3408, allocations: 159.3 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3408, allocations: 0 / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3409, allocations: 31.92 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3411, allocations: 24.62 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3433, allocations: 1.601 MB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3436, allocations: 0.694 MB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.3436, allocations: 11.75 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.3437, allocations: 35.34 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of SimCode: time 5.92e-07/0.3437, allocations: 0 / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3668, allocations: 2.947 MB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 5.953 kB / 1.357 GB, free: 4.176 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.878013023000676] Failed to read output from testmodel.py, exit status != 0: 11.359128153009806 11.387905296 11.049048828 Calling exit ...