Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.002114/0.002114, 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.002735/0.002735, 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.902/2.902, allocations: 476.7 MB / 0.7678 GB, free: 9.328 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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.002364/0.002364, allocations: 64.14 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003205/1.025, allocations: 1.503 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001788/1.026, allocations: 0.8165 MB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/1.026, allocations: 3.938 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/1.026, allocations: 5.812 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/1.027, allocations: 18.52 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/1.027, allocations: 131.1 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/1.028, allocations: 78.67 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/1.028, allocations: 9.453 kB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/1.028, allocations: 47.7 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/1.028, allocations: 37.27 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/1.028, allocations: 6.438 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/1.028, allocations: 114.2 kB / 1.282 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/1.028, allocations: 18.41 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/1.028, allocations: 28.2 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/1.029, allocations: 165.4 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.029, allocations: 0.5 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.029, allocations: 0 / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.029, allocations: 0.5625 kB / 1.282 GB, free: 9.816 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.0007811/1.029, allocations: 431.5 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.03, allocations: 9.5 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/1.03, allocations: 1.25 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/1.03, allocations: 37.58 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/1.03, allocations: 26.84 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/1.03, allocations: 185.6 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/1.03, allocations: 3.578 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/1.03, allocations: 19.89 kB / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/1.03, allocations: 72.17 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.03, allocations: 0 / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.03, allocations: 1.453 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.03, allocations: 1.094 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/1.031, allocations: 36.44 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/1.031, allocations: 323.3 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/1.031, allocations: 47.55 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/1.031, allocations: 30.42 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/1.031, allocations: 1.25 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/1.032, allocations: 77.28 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.032, allocations: 3.938 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004271/1.032, allocations: 137.7 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.032, allocations: 57.7 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.032, allocations: 123.9 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.032, allocations: 31.11 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/1.032, allocations: 97.3 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/1.032, allocations: 19.12 kB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/1.032, allocations: 29.28 kB / 1.284 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.033, allocations: 320 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/1.033, allocations: 30.53 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.605e-05/1.033, allocations: 45.94 kB / 1.284 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/1.033, allocations: 76.3 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.033, allocations: 1.312 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002554/1.033, allocations: 112.6 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.033, allocations: 5.531 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.033, allocations: 1.969 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.033, allocations: 1.312 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/1.033, allocations: 15.19 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.033, allocations: 2.156 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/1.033, allocations: 12.61 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.033, allocations: 7.469 kB / 1.284 GB, free: 7.766 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.0001128/1.034, allocations: 120.6 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/1.034, allocations: 7.375 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/1.034, allocations: 10.56 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.034, allocations: 1.375 kB / 1.284 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.034, allocations: 4.797 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.034, allocations: 5.312 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/1.034, allocations: 382.9 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.034, allocations: 0.6562 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/1.034, allocations: 8.828 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.034, allocations: 0.5625 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.034, allocations: 5.688 kB / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.034, allocations: 1.891 kB / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.034, allocations: 4 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/1.034, allocations: 204.9 kB / 1.285 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/1.035, allocations: 82.62 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/1.035, allocations: 6.078 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/1.035, allocations: 4.688 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/1.035, allocations: 8.281 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/1.035, allocations: 4.484 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.337e-05/1.035, allocations: 96.19 kB / 1.285 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.035, allocations: 1.25 kB / 1.285 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000337/1.035, allocations: 38.08 kB / 1.285 GB, free: 6.922 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.0008948/1.036, allocations: 0.8143 MB / 1.286 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002535/1.036, allocations: 74.16 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.036, allocations: 0 / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.036, allocations: 31.3 kB / 1.286 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/1.037, allocations: 7.516 kB / 1.286 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/1.038, allocations: 1.522 MB / 1.287 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.039, allocations: 0.691 MB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.736e-05/1.039, allocations: 5.609 kB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/1.039, allocations: 26.03 kB / 1.288 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.039, allocations: 0 / 1.288 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/1.059, allocations: 2.743 MB / 1.291 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/9.855, allocations: 8.875 kB / 1.291 GB, free: 3.617 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.24948639498325] Failed to read output from testmodel.py, exit status != 0: 10.000346088025253 10.026365608999999 8.992739621 Calling exit ...