Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001275/0.001275, 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.001605/0.001605, allocations: 220.4 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.858/2.858, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 176] 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.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.002006/0.002006, allocations: 64.06 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003487/0.3218, allocations: 1.512 MB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3235, allocations: 0.7574 MB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.3236, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.3236, allocations: 3.938 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.3237, allocations: 7.875 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.3244, allocations: 143.5 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3246, allocations: 83.77 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.3247, allocations: 12.17 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.3248, allocations: 47.84 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.3249, allocations: 35.84 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3249, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3252, allocations: 151.7 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.3253, allocations: 15.92 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.3253, allocations: 23.92 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.3256, allocations: 152.6 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3256, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3257, allocations: 4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3257, allocations: 0 / 1.287 GB, free: 7.812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006901/0.3263, allocations: 359.5 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3264, allocations: 8.031 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.3264, allocations: 192 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.3264, allocations: 38.75 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.3268, allocations: 28.91 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3271, allocations: 130.3 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3271, allocations: 8.375 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3271, allocations: 12.12 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3274, allocations: 69.64 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3274, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3274, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3274, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3275, allocations: 35.97 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.3282, allocations: 283.8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3283, allocations: 42.56 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.3284, allocations: 28.97 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3284, allocations: 7.969 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.3286, allocations: 79.33 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3286, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004333/0.329, allocations: 141.5 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3291, allocations: 67.34 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3292, allocations: 123.4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3292, allocations: 25.7 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.3293, allocations: 96.09 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3293, allocations: 19.91 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.3294, allocations: 29.7 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3296, allocations: 322.8 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.3296, allocations: 27.98 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.3297, allocations: 50.55 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3299, allocations: 74.5 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3299, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000252/0.3302, allocations: 109.5 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3302, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3302, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3302, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3303, allocations: 24.05 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3303, allocations: 3.938 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.3304, allocations: 7.938 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3304, allocations: 7.984 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.712e-05/0.3305, allocations: 113.8 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3305, allocations: 7.953 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.3305, allocations: 8.375 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3306, allocations: 8 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3306, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3306, allocations: 3.938 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.331, allocations: 357.5 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.331, allocations: 0 / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3311, allocations: 4 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3311, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3311, allocations: 7.922 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3311, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3311, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3314, allocations: 212 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.3314, allocations: 15.89 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.3314, allocations: 3.938 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3316, allocations: 11.92 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3316, allocations: 7.984 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3316, allocations: 4 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.3317, allocations: 93.39 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000304/0.332, allocations: 35.94 kB / 1.29 GB, free: 4.418 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009335/0.3329, allocations: 0.8199 MB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.3332, allocations: 75.83 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3332, allocations: 0 / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3333, allocations: 35.92 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3336, allocations: 9.688 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3354, allocations: 1.507 MB / 1.292 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.3355, allocations: 75.27 kB / 1.292 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.3355, allocations: 4 kB / 1.292 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.3356, allocations: 27.42 kB / 1.292 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3356, allocations: 0 / 1.292 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3602, allocations: 2.901 MB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.1, allocations: 12.2 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.949306408991106] Failed to read output from testmodel.py, exit status != 0: 12.839361236081459 12.29268923 11.962462653 Calling exit ...