Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.001474/0.001474, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001299/0.001299, allocations: 211 kB / 20.13 MB, free: 2.969 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.06 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.87/2.87, allocations: 476.7 MB / 0.7678 GB, free: 9.406 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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.002323/0.002323, allocations: 63.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003627/1.088, allocations: 1.51 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001922/1.09, allocations: 0.8203 MB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/1.09, allocations: 0 / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/1.09, allocations: 5.453 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/1.09, allocations: 10.08 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/1.091, allocations: 136.3 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000183/1.091, allocations: 81.77 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.091, allocations: 6.156 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/1.091, allocations: 43.41 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/1.091, allocations: 41.22 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/1.091, allocations: 6.219 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/1.092, allocations: 114.2 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/1.092, allocations: 19.14 kB / 1.282 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/1.092, allocations: 31.7 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/1.092, allocations: 152.9 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.092, allocations: 4.5 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.092, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.092, allocations: 1.234 kB / 1.282 GB, free: 9.836 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.0008319/1.093, allocations: 430.7 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.093, allocations: 10.58 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/1.093, allocations: 5.188 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/1.093, allocations: 37.61 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/1.094, allocations: 26.11 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/1.094, allocations: 195.3 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/1.094, allocations: 6.812 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/1.094, allocations: 12.42 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/1.094, allocations: 68.44 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.094, allocations: 0.7031 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.094, allocations: 1.281 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.094, allocations: 0 / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/1.094, allocations: 40.02 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/1.095, allocations: 319.5 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/1.095, allocations: 47.03 kB / 1.283 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/1.095, allocations: 31.61 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.095, allocations: 1.406 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/1.096, allocations: 85.23 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.096, allocations: 0 / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004712/1.096, allocations: 140.9 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.096, allocations: 54.44 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.096, allocations: 124.1 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.096, allocations: 31.84 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/1.096, allocations: 92.33 kB / 1.283 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/1.096, allocations: 15.98 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/1.096, allocations: 28.55 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.097, allocations: 322.9 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/1.097, allocations: 27.42 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/1.097, allocations: 50.61 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/1.097, allocations: 80.55 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.097, allocations: 1.375 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/1.097, allocations: 111.6 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.097, allocations: 6.594 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.097, allocations: 0 / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.097, allocations: 1.906 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.097, allocations: 15.12 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.097, allocations: 6.266 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/1.097, allocations: 13.39 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.097, allocations: 3 kB / 1.284 GB, free: 7.777 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.0001065/1.098, allocations: 121 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/1.098, allocations: 6.297 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/1.098, allocations: 8.047 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.098, allocations: 1.375 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.098, allocations: 4 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.098, allocations: 4.688 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/1.098, allocations: 383.7 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.098, allocations: 3.938 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/1.098, allocations: 6 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.098, allocations: 3.938 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.098, allocations: 6.219 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.098, allocations: 0.7969 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.098, allocations: 5.125 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/1.099, allocations: 211.5 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/1.099, allocations: 83.52 kB / 1.285 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/1.099, allocations: 5.859 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/1.099, allocations: 5.188 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/1.099, allocations: 8.203 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.099, allocations: 4.031 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.843e-05/1.099, allocations: 97.27 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.099, allocations: 0 / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003575/1.099, allocations: 38.33 kB / 1.285 GB, free: 6.926 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.001009/1.1, allocations: 0.8039 MB / 1.286 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002846/1.101, allocations: 78.02 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.101, allocations: 1.094 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/1.101, allocations: 35.09 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/1.101, allocations: 12.16 kB / 1.286 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/1.103, allocations: 1.523 MB / 1.287 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/1.103, allocations: 0.6895 MB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.145e-05/1.103, allocations: 5.828 kB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/1.103, allocations: 20.88 kB / 1.288 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.103, allocations: 1.375 kB / 1.288 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.125, allocations: 2.741 MB / 1.291 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.092/10.22, allocations: 13.8 kB / 1.291 GB, free: 3.617 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.616953411023133] Failed to read output from testmodel.py, exit status != 0: 10.347742005018517 10.37297259 9.275769603 Calling exit ...