Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002028/0.002028, allocations: 116.1 kB / 17.17 MB, free: 6 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.002162/0.002162, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.544/1.544, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_12_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.003309/0.003309, allocations: 67.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9241, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001775/0.9259, allocations: 0.8087 MB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.9271, allocations: 1.19 MB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.9272, allocations: 6.875 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.9272, allocations: 3.938 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.9273, allocations: 17.92 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.9277, allocations: 139.9 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.9279, allocations: 141.8 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.928, allocations: 35.14 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.9281, allocations: 59.03 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.9281, allocations: 58.3 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.9282, allocations: 13.09 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.9282, allocations: 36.61 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.9283, allocations: 17.78 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.9283, allocations: 51.16 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.9285, allocations: 152.5 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9285, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9285, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9285, allocations: 0 / 1.324 GB, free: 23.07 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.0005618/0.9291, allocations: 442.4 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.9291, allocations: 16.61 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.9291, allocations: 10.75 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.9291, allocations: 40.52 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.9292, allocations: 10.02 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.9293, allocations: 174 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.9293, allocations: 10.53 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.9293, allocations: 9.25 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.9295, allocations: 90.92 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9295, allocations: 0 / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.9295, allocations: 4 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9296, allocations: 6.562 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.9298, allocations: 54.72 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.9302, allocations: 375.8 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.9304, allocations: 51.73 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.9305, allocations: 28.83 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.9305, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.9307, allocations: 84.31 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.9307, allocations: 4 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004104/0.9311, allocations: 127.9 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.9312, allocations: 55.34 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.9313, allocations: 133.1 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.9313, allocations: 28.39 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.9313, allocations: 104.9 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.9313, allocations: 10.95 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.9314, allocations: 41.53 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.9315, allocations: 320.6 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.9316, allocations: 52.42 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.9318, allocations: 74.81 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.932, allocations: 131.6 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.932, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003951/0.9324, allocations: 188.4 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.9324, allocations: 34.83 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9324, allocations: 4.062 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9324, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.9325, allocations: 9.156 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.9326, allocations: 10.94 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.9328, allocations: 45.92 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.9328, allocations: 2.969 kB / 1.327 GB, free: 20.85 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 6.842e-05/0.9329, allocations: 128 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.9329, allocations: 10.66 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.9329, allocations: 15.19 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9329, allocations: 0 / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9329, allocations: 4.25 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9329, allocations: 0 / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.933, allocations: 200.4 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.933, allocations: 3.75 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.9331, allocations: 5.688 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9331, allocations: 0 / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.9331, allocations: 7.281 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9331, allocations: 2.812 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9331, allocations: 3.938 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.9333, allocations: 124.2 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.9334, allocations: 77.11 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.9334, allocations: 2.969 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.9334, allocations: 20.62 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.9335, allocations: 12.7 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.9335, allocations: 0 / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.9335, allocations: 98.39 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9335, allocations: 0 / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002389/0.9338, allocations: 23.67 kB / 1.327 GB, free: 20.2 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.00043/0.9342, allocations: 0.6738 MB / 1.328 GB, free: 19.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.9346, allocations: 147.9 kB / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9346, allocations: 1.219 kB / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.9347, allocations: 37.45 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.9349, allocations: 27.69 kB / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.9369, allocations: 1.605 MB / 1.33 GB, free: 18.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.937, allocations: 0.6897 MB / 1.331 GB, free: 17.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.9371, allocations: 6.266 kB / 1.331 GB, free: 17.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.9371, allocations: 23.09 kB / 1.331 GB, free: 17.41 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.9371, allocations: 0 / 1.331 GB, free: 17.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.9581, allocations: 2.861 MB / 1.333 GB, free: 16.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.15, allocations: 6.094 kB / 1.333 GB, free: 16.95 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.59493260603631] Failed to read output from testmodel.py, exit status != 0: 9.281169692985713 9.29959669 8.367366785 Calling exit ...