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.001377/0.001377, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001563/0.001563, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.00205/0.00205, allocations: 65.56 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002337/0.3318, allocations: 0.8002 MB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3335, allocations: 1.182 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.3336, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.3336, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.3337, allocations: 11.88 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.3343, allocations: 138.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3345, allocations: 151.7 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3346, allocations: 28.27 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3347, allocations: 63.83 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3349, allocations: 55.81 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3349, allocations: 12 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.335, allocations: 27.98 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.335, allocations: 19.97 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.3351, allocations: 51.78 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3354, allocations: 147.5 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3354, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3354, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3354, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 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.0007365/0.3361, allocations: 359.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3362, allocations: 12.03 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.3362, allocations: 192 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3362, allocations: 46.67 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3363, allocations: 8.891 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3364, allocations: 118.4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3364, allocations: 12.38 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3365, allocations: 8.375 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3367, allocations: 89.95 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3367, allocations: 3.938 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3367, allocations: 7.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3367, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.337, allocations: 55.95 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.3376, allocations: 323.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3377, allocations: 54.55 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.3378, allocations: 24.94 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3379, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.3382, allocations: 83.36 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3382, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004693/0.3386, allocations: 133.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3387, allocations: 59.34 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3388, allocations: 125.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3388, allocations: 29.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.3389, allocations: 100 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3389, allocations: 19.86 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.339, allocations: 33.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3392, allocations: 322.8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3394, allocations: 77.67 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.3396, allocations: 134.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.3398, allocations: 128.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3398, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004592/0.3403, allocations: 221.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3403, allocations: 33.7 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3404, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3404, allocations: 4.062 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.3405, allocations: 15.92 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3405, allocations: 7.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3407, allocations: 35.91 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3407, allocations: 15.98 kB / 1.332 GB, free: 11.93 MB / 1.029 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.0001132/0.3408, allocations: 119 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.3408, allocations: 7.953 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.3409, allocations: 12.47 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.3409, allocations: 7.875 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3409, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3409, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.3411, allocations: 156.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3411, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.3411, allocations: 8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3411, allocations: 3.984 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3411, allocations: 3.984 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3411, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3411, allocations: 7.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3414, allocations: 125 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.3414, allocations: 8.109 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3415, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.3415, allocations: 7.984 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.3416, allocations: 19.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3416, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.3417, allocations: 95.64 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3417, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002343/0.3419, allocations: 31.89 kB / 1.332 GB, free: 11.24 MB / 1.029 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.000665/0.3426, allocations: 0.6632 MB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.343, allocations: 189.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.343, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3431, allocations: 40.05 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3433, allocations: 11.92 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3456, allocations: 1.736 MB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/0.3456, allocations: 79.33 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.3457, allocations: 7.984 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.3457, allocations: 19.44 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.3458, allocations: 3.938 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.3704, allocations: 3.097 MB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.36, allocations: 9.016 kB / 1.338 GB, free: 5.395 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.14713216002565] Failed to read output from testmodel.py, exit status != 0: 11.517468845006078 11.540899436 11.201165362 Calling exit ...