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.001889/0.001889, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.002516/0.002516, allocations: 215.6 kB / 23.03 MB, free: 4.438 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.206/3.206, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 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.002009/0.002009, allocations: 63.16 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002243/0.3188, allocations: 0.7908 MB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3205, allocations: 1.167 MB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3205, allocations: 7.938 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.3206, allocations: 3.938 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.3206, allocations: 15.86 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.3211, allocations: 145.2 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.3214, allocations: 143.7 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3215, allocations: 28.27 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3216, allocations: 63.83 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3217, allocations: 51.81 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.3217, allocations: 19.94 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.3218, allocations: 27.98 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3218, allocations: 8 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.3219, allocations: 59.77 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3222, allocations: 147.5 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3222, allocations: 4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3222, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3222, allocations: 4 kB / 1.348 GB, free: 13.3 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.0006638/0.3228, allocations: 355.7 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3229, allocations: 8.031 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.971e-05/0.3229, allocations: 4.188 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.3229, allocations: 34.75 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.323, allocations: 12.89 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3231, allocations: 126.3 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3231, allocations: 8.375 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.3231, allocations: 8.375 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3234, allocations: 93.91 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3234, allocations: 0 / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3234, allocations: 0 / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3234, allocations: 3.984 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.3236, allocations: 59.95 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.3242, allocations: 323.7 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3244, allocations: 58.48 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3245, allocations: 36.91 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3245, allocations: 0 / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.3248, allocations: 83.38 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3248, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004727/0.3253, allocations: 125.5 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3253, allocations: 63.34 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3255, allocations: 129.7 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3255, allocations: 33.7 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3256, allocations: 96.08 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3256, allocations: 23.83 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.3257, allocations: 33.7 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3258, allocations: 322.8 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.326, allocations: 85.66 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.3262, allocations: 134.8 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3265, allocations: 124.3 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3265, allocations: 0 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004816/0.327, allocations: 224.9 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.327, allocations: 33.7 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.327, allocations: 3.984 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3271, allocations: 4.062 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.3271, allocations: 8 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3272, allocations: 3.938 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3274, allocations: 40.27 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3274, allocations: 7.984 kB / 1.35 GB, free: 10.38 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.0001204/0.3275, allocations: 123.9 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3276, allocations: 19.89 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.3276, allocations: 8.375 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3276, allocations: 0 / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.3276, allocations: 11.92 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3276, allocations: 0 / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3278, allocations: 152.7 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3278, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.3278, allocations: 7.984 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3278, allocations: 0 / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3278, allocations: 8 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3278, allocations: 0 / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3278, allocations: 7.938 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3281, allocations: 125 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.3281, allocations: 7.953 kB / 1.351 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3282, allocations: 0 / 1.351 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.3282, allocations: 11.98 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3283, allocations: 15.92 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3283, allocations: 3.984 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.3284, allocations: 95.27 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 4 kB / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002426/0.3286, allocations: 27.94 kB / 1.351 GB, free: 9.688 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.0006435/0.3293, allocations: 0.6593 MB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3297, allocations: 185 kB / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3297, allocations: 0 / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3298, allocations: 44.03 kB / 1.352 GB, free: 8.758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.33, allocations: 18.2 kB / 1.352 GB, free: 8.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3324, allocations: 1.717 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.516e-05/0.3324, allocations: 83.08 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3325, allocations: 3.938 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3325, allocations: 27.42 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of SimCode: time 7.51e-07/0.3325, allocations: 3.938 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3565, allocations: 3.087 MB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 2.812 kB / 1.357 GB, free: 3.852 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.193109257961623] Failed to read output from testmodel.py, exit status != 0: 11.63963094400242 11.666091275 11.339271346 Calling exit ...