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.001298/0.001298, allocations: 116.8 kB / 17.17 MB, free: 6 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.001367/0.001367, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.875/2.875, allocations: 476.7 MB / 0.7678 GB, free: 9.387 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.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.002053/0.002053, allocations: 63.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003213/1.061, allocations: 1.625 MB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001764/1.063, allocations: 0.8707 MB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/1.063, allocations: 1.062 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/1.063, allocations: 9.516 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/1.063, allocations: 15.52 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/1.064, allocations: 166.3 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/1.064, allocations: 141.1 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/1.064, allocations: 17.03 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/1.064, allocations: 75.73 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/1.064, allocations: 73.55 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/1.064, allocations: 11.84 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/1.065, allocations: 119 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/1.065, allocations: 33.48 kB / 1.282 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/1.065, allocations: 60.19 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/1.065, allocations: 198.4 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.065, allocations: 0 / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.013e-06/1.065, allocations: 1.859 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.065, allocations: 0 / 1.282 GB, free: 9.617 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009031/1.066, allocations: 496.8 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.066, allocations: 14.83 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/1.066, allocations: 1.844 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/1.066, allocations: 37.42 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/1.067, allocations: 73.14 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/1.067, allocations: 207.3 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/1.067, allocations: 8.062 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/1.067, allocations: 6.047 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/1.068, allocations: 96.19 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.068, allocations: 0 / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.068, allocations: 6.156 kB / 1.283 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.068, allocations: 5.406 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/1.068, allocations: 64.52 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/1.069, allocations: 367.7 kB / 1.284 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/1.069, allocations: 62.95 kB / 1.284 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/1.069, allocations: 49.81 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/1.069, allocations: 1.312 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/1.069, allocations: 102.5 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/1.069, allocations: 0 / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000642/1.07, allocations: 214.8 kB / 1.284 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/1.07, allocations: 62.58 kB / 1.284 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/1.07, allocations: 147.3 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.07, allocations: 31.45 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/1.07, allocations: 102.8 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/1.07, allocations: 29.66 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/1.07, allocations: 36.14 kB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.071, allocations: 329.8 kB / 1.285 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.071, allocations: 40.88 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.071, allocations: 74.06 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/1.071, allocations: 117.3 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.071, allocations: 0.9375 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003886/1.072, allocations: 156.5 kB / 1.285 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.072, allocations: 5.781 kB / 1.285 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.072, allocations: 5.188 kB / 1.285 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.072, allocations: 2.531 kB / 1.285 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.072, allocations: 24.55 kB / 1.285 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.072, allocations: 3.422 kB / 1.285 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/1.072, allocations: 12.08 kB / 1.285 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/1.072, allocations: 8.641 kB / 1.285 GB, free: 7.324 MB / 0.9981 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.0001392/1.072, allocations: 134 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/1.072, allocations: 8.391 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/1.072, allocations: 13.11 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.072, allocations: 1.312 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.072, allocations: 1.375 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.072, allocations: 0.7969 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/1.073, allocations: 461.6 kB / 1.286 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.073, allocations: 4 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/1.073, allocations: 9.688 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.073, allocations: 1.312 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.073, allocations: 6.562 kB / 1.286 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.073, allocations: 3.938 kB / 1.286 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.073, allocations: 2.344 kB / 1.286 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/1.073, allocations: 262.9 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/1.074, allocations: 93.09 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.074, allocations: 1.938 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.074, allocations: 11.17 kB / 1.286 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/1.074, allocations: 14.41 kB / 1.286 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/1.074, allocations: 8.438 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.128e-05/1.074, allocations: 109.3 kB / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.074, allocations: 0 / 1.286 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003955/1.074, allocations: 48.92 kB / 1.286 GB, free: 6.41 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: 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.001368/1.076, allocations: 0.8583 MB / 1.287 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004222/1.076, allocations: 119.9 kB / 1.287 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.076, allocations: 0 / 1.287 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.076, allocations: 51.67 kB / 1.287 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/1.077, allocations: 15.31 kB / 1.287 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/1.079, allocations: 1.746 MB / 1.289 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/1.079, allocations: 0.6956 MB / 1.29 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.752e-05/1.079, allocations: 7.594 kB / 1.29 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/1.08, allocations: 35.69 kB / 1.29 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.08, allocations: 0 / 1.29 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/1.102, allocations: 3.515 MB / 1.293 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.608, allocations: 19.47 kB / 1.293 GB, free: 2.902 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.086252249020617] Failed to read output from testmodel.py, exit status != 0: 9.751774895994458 9.769443971 8.701044583 Calling exit ...