Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001366/0.001366, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00145/0.00145, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.91/2.91, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_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.001988/0.001988, allocations: 61.39 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002388/0.2754, allocations: 0.8785 MB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2768, allocations: 0.9189 MB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.2769, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.2769, allocations: 11.86 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.277, allocations: 19.75 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2773, allocations: 51.94 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2775, allocations: 123.7 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2776, allocations: 45.17 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.2778, allocations: 59.83 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2779, allocations: 59.7 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.2779, allocations: 12 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.278, allocations: 16 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.278, allocations: 31.91 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.2781, allocations: 43.8 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2784, allocations: 156.7 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2784, allocations: 7.875 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2784, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2784, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 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.0006501/0.279, allocations: 365.8 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2791, allocations: 8.031 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.2791, allocations: 4.188 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.2791, allocations: 38.75 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.2794, allocations: 32.81 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.2797, allocations: 163 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2797, allocations: 12.12 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.2797, allocations: 8 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.28, allocations: 111.5 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.28, allocations: 0 / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.28, allocations: 4 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.28, allocations: 4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2802, allocations: 63.95 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.2808, allocations: 343.6 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2811, allocations: 82.53 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.2812, allocations: 36.91 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2812, allocations: 7.922 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.2812, allocations: 42.56 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2812, allocations: 0 / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003812/0.2816, allocations: 125.8 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2816, allocations: 55.41 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2818, allocations: 164.6 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2818, allocations: 29.7 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.2819, allocations: 112.2 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2819, allocations: 23.84 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.282, allocations: 21.72 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2821, allocations: 322.8 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.2822, allocations: 27.98 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2824, allocations: 110 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2825, allocations: 64.92 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2825, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.2828, allocations: 121.4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2828, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2828, allocations: 320 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2828, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.2829, allocations: 11.98 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2829, allocations: 0 / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.283, allocations: 19.88 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.283, allocations: 7.984 kB / 1.289 GB, free: 5.555 MB / 0.9825 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.0001009/0.2831, allocations: 123.7 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.2832, allocations: 11.89 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2832, allocations: 16.72 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2832, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2832, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2832, allocations: 7.984 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2834, allocations: 164.7 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2834, allocations: 3.938 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.2835, allocations: 19.92 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.2835, allocations: 4 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2835, allocations: 4 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2835, allocations: 0 / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2835, allocations: 0 / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2838, allocations: 191.4 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2838, allocations: 11.89 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2838, allocations: 4 kB / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.284, allocations: 11.98 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.284, allocations: 15.97 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.284, allocations: 3.984 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.2841, allocations: 118.8 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2841, allocations: 3.938 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002494/0.2844, allocations: 27.89 kB / 1.29 GB, free: 4.762 MB / 0.9825 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.0005829/0.2849, allocations: 0.7358 MB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2852, allocations: 79.88 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2852, allocations: 0 / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.2853, allocations: 27.98 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2856, allocations: 8 kB / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2876, allocations: 1.653 MB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.2877, allocations: 101 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.035e-05/0.2878, allocations: 8.656 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.2879, allocations: 35.42 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.2879, allocations: 4.094 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3114, allocations: 2.881 MB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.25, allocations: 6.125 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.7416764870286] Failed to read output from testmodel.py, exit status != 0: 11.856534866965376 11.439604404 11.156286372 Calling exit ...