Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001947/0.001947, 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.00249/0.00249, allocations: 219.3 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.939/2.939, allocations: 476.8 MB / 0.7715 GB, free: 3.855 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.00198/0.00198, allocations: 64 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 169.9 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003522/0.3258, allocations: 1.524 MB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3275, allocations: 0.7536 MB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.3276, allocations: 0 / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.3276, allocations: 7.922 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.3277, allocations: 11.88 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.3285, allocations: 143.6 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3287, allocations: 75.7 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.3287, allocations: 12.12 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3289, allocations: 51.83 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.329, allocations: 43.84 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.329, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.3293, allocations: 143.8 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3293, allocations: 11.98 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.3294, allocations: 27.86 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3296, allocations: 152.6 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3297, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3297, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3297, allocations: 4 kB / 1.287 GB, free: 7.656 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.0006636/0.3303, allocations: 355.5 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3304, allocations: 12.03 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.268e-05/0.3304, allocations: 4.188 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.3304, allocations: 38.73 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.3308, allocations: 24.92 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.331, allocations: 134.4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3311, allocations: 4.375 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3311, allocations: 8.125 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3313, allocations: 69.59 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3313, allocations: 4 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3313, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3313, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3314, allocations: 39.97 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.3321, allocations: 275.9 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3322, allocations: 46.5 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.3323, allocations: 28.97 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3323, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.3325, allocations: 79.38 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3325, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004181/0.3329, allocations: 137.6 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3329, allocations: 63.33 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3331, allocations: 119.8 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3331, allocations: 29.7 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.3331, allocations: 96.08 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3332, allocations: 27.91 kB / 1.288 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3332, allocations: 29.7 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3334, allocations: 318.8 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.3334, allocations: 27.98 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.3335, allocations: 50.5 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3337, allocations: 78.48 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3337, allocations: 3.938 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002528/0.334, allocations: 117.5 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.334, allocations: 4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.334, allocations: 0 / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.334, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.3341, allocations: 11.98 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3341, allocations: 0 / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.3342, allocations: 7.938 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3342, allocations: 8 kB / 1.289 GB, free: 5.223 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.763e-05/0.3343, allocations: 121.8 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3343, allocations: 11.94 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3344, allocations: 8.375 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3344, allocations: 7.984 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3344, allocations: 0 / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3344, allocations: 3.938 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.3348, allocations: 337.6 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3348, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.3349, allocations: 15.92 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3349, allocations: 0 / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3349, allocations: 3.938 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3349, allocations: 0 / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3349, allocations: 4.469 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.3352, allocations: 215.5 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3352, allocations: 11.89 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3353, allocations: 3.938 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.3354, allocations: 11.98 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3354, allocations: 3.938 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3354, allocations: 11.98 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.3355, allocations: 90.03 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003212/0.3358, allocations: 39.92 kB / 1.29 GB, free: 4.262 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.0009214/0.3367, allocations: 0.8205 MB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.337, allocations: 71.84 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.337, allocations: 0 / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3371, allocations: 31.97 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3373, allocations: 8 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3392, allocations: 1.508 MB / 1.292 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.3393, allocations: 75.28 kB / 1.292 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.3393, allocations: 3.984 kB / 1.292 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3394, allocations: 19.44 kB / 1.292 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3394, allocations: 0 / 1.292 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3647, allocations: 2.924 MB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.89, allocations: 7.375 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.927991603966802] Failed to read output from testmodel.py, exit status != 0: 12.638026323053055 12.092788158 11.75967042 Calling exit ...