Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001817/0.001817, allocations: 110.4 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.002367/0.002367, allocations: 219.8 kB / 23.05 MB, free: 5.074 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.101/3.101, allocations: 0.49 GB / 0.7959 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001958/0.001958, allocations: 69.59 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002289/0.3258, allocations: 0.9283 MB / 1.328 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3271, allocations: 0.9406 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.3271, allocations: 3.938 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.3272, allocations: 7.875 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3273, allocations: 23.73 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3275, allocations: 47.88 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3277, allocations: 123.7 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3278, allocations: 37.7 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.328, allocations: 59.77 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3281, allocations: 63.7 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.3282, allocations: 12 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.3282, allocations: 16 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.3283, allocations: 35.84 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.3283, allocations: 51.73 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3285, allocations: 151.7 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3285, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3285, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3286, allocations: 0 / 1.329 GB, free: 15.43 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006266/0.3292, allocations: 377.6 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3292, allocations: 15.97 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.3292, allocations: 192 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.3293, allocations: 38.75 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.3295, allocations: 28.86 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3298, allocations: 156.8 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3298, allocations: 12.12 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3299, allocations: 12 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.3301, allocations: 115.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3301, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3302, allocations: 4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3302, allocations: 4 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.3304, allocations: 67.95 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.331, allocations: 367.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3313, allocations: 78.61 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3314, allocations: 40.83 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3314, allocations: 11.94 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3315, allocations: 34.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3315, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004057/0.3319, allocations: 121.7 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3319, allocations: 55.39 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3321, allocations: 154.9 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3321, allocations: 33.69 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.3322, allocations: 116.2 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3323, allocations: 11.86 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.3323, allocations: 33.64 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3325, allocations: 322.8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.3326, allocations: 27.98 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3327, allocations: 58.55 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3328, allocations: 56.97 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3328, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000236/0.3331, allocations: 113.5 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3331, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3331, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3331, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3332, allocations: 19.95 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3332, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.3333, allocations: 15.88 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3333, allocations: 8 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001137/0.3334, allocations: 118.4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.3335, allocations: 11.89 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3335, allocations: 20.7 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3335, allocations: 0 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3335, allocations: 4 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3335, allocations: 0 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3337, allocations: 188.6 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3337, allocations: 3.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.3338, allocations: 11.98 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3338, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.3338, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3338, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3338, allocations: 3.984 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3341, allocations: 195.4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3341, allocations: 15.89 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3341, allocations: 8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3342, allocations: 11.98 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3343, allocations: 15.97 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3343, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.3344, allocations: 121.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3344, allocations: 7.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002348/0.3346, allocations: 23.89 kB / 1.332 GB, free: 11.93 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005636/0.3352, allocations: 0.7318 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.3354, allocations: 72.44 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3354, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.3355, allocations: 39.91 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3359, allocations: 6.031 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3378, allocations: 1.655 MB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3381, allocations: 0.7078 MB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.3382, allocations: 4.672 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.3383, allocations: 51.39 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.3383, allocations: 3.938 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3607, allocations: 2.81 MB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 11.52 kB / 1.338 GB, free: 5.867 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.9248056729557] Failed to read output from testmodel.py, exit status != 0: 11.629570575023536 11.65409939 11.321034401 Calling exit ...