Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001411/0.001411, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001672/0.001672, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.951/2.951, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.002022/0.002022, allocations: 67.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 169.9 MB / 1.279 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003048/1.074, allocations: 1.539 MB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001611/1.075, allocations: 0.8125 MB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/1.076, allocations: 1.125 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/1.076, allocations: 5.531 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/1.076, allocations: 9.469 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/1.076, allocations: 139.3 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/1.077, allocations: 79.36 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/1.077, allocations: 13.3 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/1.077, allocations: 47.44 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/1.077, allocations: 34.38 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/1.077, allocations: 7.25 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/1.077, allocations: 117.1 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/1.077, allocations: 23.11 kB / 1.282 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/1.077, allocations: 31.34 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/1.078, allocations: 150.1 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/1.078, allocations: 0 / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.078, allocations: 0.5312 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.078, allocations: 0 / 1.282 GB, free: 10 MB / 0.9981 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.0007923/1.078, allocations: 431.9 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.078, allocations: 9.781 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/1.079, allocations: 5.844 kB / 1.282 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/1.079, allocations: 32.97 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/1.079, allocations: 30.64 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/1.079, allocations: 193.8 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/1.079, allocations: 7 kB / 1.283 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/1.079, allocations: 12.34 kB / 1.283 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/1.08, allocations: 64.67 kB / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.08, allocations: 0 / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.08, allocations: 1.156 kB / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.08, allocations: 1.531 kB / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/1.08, allocations: 40.17 kB / 1.283 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/1.08, allocations: 313.7 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/1.081, allocations: 43.14 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/1.081, allocations: 30.91 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/1.081, allocations: 6.188 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/1.081, allocations: 83.48 kB / 1.283 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/1.081, allocations: 1.531 kB / 1.283 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000437/1.081, allocations: 132.7 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.081, allocations: 54.73 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/1.081, allocations: 132.4 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.082, allocations: 27.67 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/1.082, allocations: 92.28 kB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/1.082, allocations: 23.59 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/1.082, allocations: 29.62 kB / 1.284 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.082, allocations: 322.9 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/1.082, allocations: 23.23 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/1.082, allocations: 55.47 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/1.082, allocations: 86.83 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.082, allocations: 0 / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002756/1.082, allocations: 117.9 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.083, allocations: 9.266 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.083, allocations: 1.312 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.083, allocations: 6.016 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.083, allocations: 19.17 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.083, allocations: 2.109 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/1.083, allocations: 9.328 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/1.083, allocations: 3.938 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 0.0001214/1.083, allocations: 123.3 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.083, allocations: 8.406 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/1.083, allocations: 10.61 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.083, allocations: 5.031 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.083, allocations: 2.141 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.083, allocations: 4.922 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/1.083, allocations: 377.6 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.083, allocations: 1.156 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/1.083, allocations: 5.125 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.083, allocations: 0 / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.084, allocations: 11.08 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.084, allocations: 0 / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.084, allocations: 4.75 kB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/1.084, allocations: 208.5 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/1.084, allocations: 84.05 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.084, allocations: 5.375 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/1.084, allocations: 3.719 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/1.084, allocations: 5.609 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/1.084, allocations: 6.703 kB / 1.285 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.983e-05/1.084, allocations: 97.16 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.084, allocations: 3.938 kB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003515/1.084, allocations: 38.47 kB / 1.285 GB, free: 7.078 MB / 0.9981 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,occ.y,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.001174/1.086, allocations: 0.8119 MB / 1.286 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002649/1.086, allocations: 74.66 kB / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.086, allocations: 1.406 kB / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/1.086, allocations: 34.45 kB / 1.286 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/1.086, allocations: 14.72 kB / 1.286 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.088, allocations: 1.526 MB / 1.288 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.089, allocations: 0.6879 MB / 1.288 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.527e-05/1.089, allocations: 5.906 kB / 1.288 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/1.089, allocations: 21.62 kB / 1.288 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/1.089, allocations: 0 / 1.288 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/1.11, allocations: 2.737 MB / 1.291 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.754/9.865, allocations: 3.031 kB / 1.291 GB, free: 3.742 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.357376770989504] Failed to read output from testmodel.py, exit status != 0: 10.001678197004367 10.029670185 8.946977727 Calling exit ...