Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001372/0.001372, allocations: 116.1 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.001554/0.001554, allocations: 209.5 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.956/2.956, allocations: 476.7 MB / 0.7678 GB, free: 9.336 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.002087/0.002087, allocations: 63.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 169.9 MB / 1.279 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003794/1.049, allocations: 1.531 MB / 1.28 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001835/1.051, allocations: 0.8081 MB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/1.051, allocations: 4.812 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/1.051, allocations: 4.5 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/1.051, allocations: 11.09 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000731/1.052, allocations: 139.2 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/1.052, allocations: 69.94 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/1.052, allocations: 14.17 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/1.053, allocations: 46.88 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/1.053, allocations: 36.77 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/1.053, allocations: 10.47 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/1.053, allocations: 110.4 kB / 1.282 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/1.053, allocations: 22.94 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/1.053, allocations: 31.73 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/1.053, allocations: 152.5 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.053, allocations: 0.7969 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.053, allocations: 0.5 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.053, allocations: 0.625 kB / 1.282 GB, free: 9.703 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.0007951/1.054, allocations: 434.3 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.054, allocations: 13.97 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/1.054, allocations: 2.031 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/1.054, allocations: 32.83 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/1.055, allocations: 26.88 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/1.055, allocations: 189.9 kB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/1.055, allocations: 7.031 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/1.055, allocations: 8.656 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/1.055, allocations: 75.8 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.055, allocations: 0 / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.055, allocations: 1.016 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.055, allocations: 1.094 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/1.055, allocations: 37.34 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/1.056, allocations: 318.7 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/1.056, allocations: 52.16 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/1.056, allocations: 25.7 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.056, allocations: 1.344 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/1.057, allocations: 80.77 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.057, allocations: 1.281 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004466/1.057, allocations: 144.5 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.057, allocations: 58.16 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.057, allocations: 124.3 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/1.057, allocations: 26.86 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/1.057, allocations: 95.98 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.057, allocations: 16.02 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/1.057, allocations: 29.53 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.057, allocations: 327.5 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/1.058, allocations: 26.89 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/1.058, allocations: 47.55 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/1.058, allocations: 76.98 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.058, allocations: 0 / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002543/1.058, allocations: 108 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.058, allocations: 7.969 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.058, allocations: 6 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.058, allocations: 1.094 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/1.058, allocations: 15.27 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.058, allocations: 1.312 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/1.058, allocations: 17.25 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/1.058, allocations: 4.094 kB / 1.284 GB, free: 7.648 MB / 0.9981 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 0.0001051/1.058, allocations: 119.8 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/1.058, allocations: 6.906 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/1.059, allocations: 12.23 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.059, allocations: 0 / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.059, allocations: 1.438 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.059, allocations: 4.594 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/1.059, allocations: 383.5 kB / 1.285 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.059, allocations: 3.938 kB / 1.285 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/1.059, allocations: 9.047 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.059, allocations: 1.469 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.059, allocations: 5.156 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.059, allocations: 1.125 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.059, allocations: 4.75 kB / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/1.059, allocations: 211.5 kB / 1.285 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/1.06, allocations: 84.17 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.06, allocations: 5.859 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.06, allocations: 5.016 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/1.06, allocations: 3.984 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/1.06, allocations: 3.453 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.63e-05/1.06, allocations: 96.67 kB / 1.285 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.06, allocations: 4 kB / 1.285 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003589/1.06, allocations: 39.38 kB / 1.285 GB, free: 6.797 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,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.0009544/1.061, allocations: 0.8169 MB / 1.286 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002606/1.061, allocations: 70.81 kB / 1.286 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.061, allocations: 0 / 1.286 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/1.061, allocations: 31.94 kB / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/1.062, allocations: 8.031 kB / 1.286 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/1.064, allocations: 1.515 MB / 1.288 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/1.064, allocations: 0.6871 MB / 1.288 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.276e-05/1.064, allocations: 10.12 kB / 1.288 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/1.064, allocations: 21.16 kB / 1.288 GB, free: 4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.064, allocations: 0 / 1.288 GB, free: 4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/1.085, allocations: 2.728 MB / 1.291 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/9.532, allocations: 4.5 kB / 1.291 GB, free: 3.477 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.116371545009315] Failed to read output from testmodel.py, exit status != 0: 9.660924957017414 9.687646618 8.629571438 Calling exit ...