Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001363/0.001363, allocations: 97.31 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.001503/0.001503, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.159/3.159, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_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.001916/0.001916, allocations: 66.28 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3092, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002111/0.3113, allocations: 0.8803 MB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3125, allocations: 0.925 MB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.3126, allocations: 4 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.3126, allocations: 11.81 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3127, allocations: 19.78 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.313, allocations: 47.95 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3131, allocations: 123.6 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3133, allocations: 49.41 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3134, allocations: 47.86 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3135, allocations: 59.75 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3136, allocations: 12 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.3136, allocations: 16 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.3137, allocations: 35.78 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.3137, allocations: 47.8 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.314, allocations: 163.6 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.314, allocations: 4 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.314, allocations: 0 / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.314, allocations: 4 kB / 1.348 GB, free: 13.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006006/0.3146, allocations: 357.7 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3146, allocations: 16.02 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.3146, allocations: 192 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.3147, allocations: 38.75 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.3149, allocations: 32.81 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3152, allocations: 159 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3152, allocations: 12.12 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.3152, allocations: 8 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3154, allocations: 106.7 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3154, allocations: 3.938 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3154, allocations: 0 / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3155, allocations: 8 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.3157, allocations: 79.83 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.3162, allocations: 347.8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3165, allocations: 74.67 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3166, allocations: 40.83 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3166, allocations: 7.938 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3166, allocations: 34.5 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3167, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003699/0.317, allocations: 117.6 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3171, allocations: 55.41 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3172, allocations: 158.2 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3172, allocations: 29.7 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3173, allocations: 112.2 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.3173, allocations: 24 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3174, allocations: 25.7 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3175, allocations: 322.8 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3176, allocations: 31.98 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3178, allocations: 113.9 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.318, allocations: 56.83 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.318, allocations: 4 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.3182, allocations: 113.6 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3182, allocations: 6.344 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3182, allocations: 8.016 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3182, allocations: 0 / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.3183, allocations: 12 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3183, allocations: 0 / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.3184, allocations: 15.92 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3184, allocations: 4 kB / 1.35 GB, free: 10.75 MB / 1.045 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.0001096/0.3185, allocations: 125.8 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.3186, allocations: 19.83 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.3186, allocations: 8.719 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3186, allocations: 8 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3186, allocations: 0 / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3186, allocations: 0 / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3188, allocations: 168.7 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3188, allocations: 3.938 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.3189, allocations: 15.92 kB / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3189, allocations: 0 / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3189, allocations: 0 / 1.35 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3189, allocations: 3.984 kB / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3189, allocations: 0 / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3192, allocations: 203.4 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.3192, allocations: 11.84 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3193, allocations: 8 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3194, allocations: 11.98 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.3194, allocations: 15.97 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3194, allocations: 4 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.3195, allocations: 119.2 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002347/0.3198, allocations: 19.94 kB / 1.351 GB, free: 9.949 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: 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.0005828/0.3204, allocations: 0.7319 MB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3206, allocations: 68.38 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3206, allocations: 0 / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3207, allocations: 39.91 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.321, allocations: 8.156 kB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.323, allocations: 1.665 MB / 1.353 GB, free: 7.336 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.3231, allocations: 96.98 kB / 1.353 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.92e-05/0.3232, allocations: 8.672 kB / 1.353 GB, free: 7.207 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.3232, allocations: 39.41 kB / 1.353 GB, free: 7.172 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.3232, allocations: 0 / 1.353 GB, free: 7.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3453, allocations: 2.89 MB / 1.356 GB, free: 4.441 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.91, allocations: 5.781 kB / 1.356 GB, free: 4.438 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.403858390054666] Failed to read output from testmodel.py, exit status != 0: 12.068795085069723 12.103906405 11.783914388 Calling exit ...