Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001612/0.001612, allocations: 113.5 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.002339/0.002339, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.853/2.853, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.002044/0.002044, allocations: 65.58 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 170 MB / 1.284 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003499/0.3469, allocations: 1.638 MB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3488, allocations: 0.8743 MB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.3489, allocations: 3.938 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.3489, allocations: 3.938 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.349, allocations: 23.73 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.3497, allocations: 175.5 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3499, allocations: 147.5 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.35, allocations: 17.38 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3502, allocations: 63.83 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3503, allocations: 79.72 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.3504, allocations: 12 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.3507, allocations: 147.7 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.3507, allocations: 27.91 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.3508, allocations: 55.72 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.3512, allocations: 203.5 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3512, allocations: 3.938 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3512, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3512, allocations: 0 / 1.287 GB, free: 8.102 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008538/0.352, allocations: 428.9 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3521, allocations: 8.031 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.542e-05/0.3521, allocations: 4.188 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.3522, allocations: 38.73 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.3529, allocations: 64.84 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3532, allocations: 142.3 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.3532, allocations: 8.375 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3532, allocations: 4.375 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3535, allocations: 101.6 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3535, allocations: 3.938 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3536, allocations: 7.984 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3536, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3538, allocations: 63.95 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.3546, allocations: 343.6 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3548, allocations: 74.47 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3549, allocations: 44.83 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.355, allocations: 4 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.3552, allocations: 99.34 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.3552, allocations: 8 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006078/0.3558, allocations: 217.4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3559, allocations: 51.41 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.356, allocations: 153.3 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3561, allocations: 29.7 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.3561, allocations: 100.4 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3562, allocations: 19.86 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.3562, allocations: 33.7 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3564, allocations: 326.8 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3565, allocations: 39.97 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3567, allocations: 76.2 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3569, allocations: 112.2 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3569, allocations: 4 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003715/0.3573, allocations: 157.5 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3573, allocations: 4 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3573, allocations: 4.047 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3574, allocations: 3.984 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3575, allocations: 20.05 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3575, allocations: 7.984 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.3576, allocations: 11.89 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3576, allocations: 11.94 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001391/0.3578, allocations: 129.8 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3578, allocations: 7.953 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.3578, allocations: 12.72 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3578, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3578, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3578, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.3585, allocations: 441.6 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3585, allocations: 7.938 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.3586, allocations: 11.98 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3586, allocations: 0 / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3586, allocations: 3.984 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3586, allocations: 8.406 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3586, allocations: 0 / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.3591, allocations: 271.2 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3591, allocations: 11.91 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3591, allocations: 4 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3592, allocations: 11.92 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3593, allocations: 7.984 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3593, allocations: 7.984 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.3594, allocations: 103.3 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3594, allocations: 4 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003346/0.3597, allocations: 43.92 kB / 1.291 GB, free: 3.945 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00105/0.3608, allocations: 0.8642 MB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.3611, allocations: 103.9 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3611, allocations: 4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3613, allocations: 51.91 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3616, allocations: 19.98 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3641, allocations: 1.748 MB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3644, allocations: 0.6924 MB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.3645, allocations: 12.64 kB / 1.295 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.3646, allocations: 35.42 kB / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3646, allocations: 0 / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.3973, allocations: 3.64 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 10.88 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.86277589004021] Failed to read output from testmodel.py, exit status != 0: 12.743047617026605 12.163931525 11.808104486 Calling exit ...