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.001369/0.001369, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00163/0.00163, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.806/2.806, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] 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.002006/0.002006, allocations: 70.27 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002673/0.3226, allocations: 1.504 MB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.324, allocations: 0.7497 MB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.324, allocations: 0 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.324, allocations: 3.938 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.3241, allocations: 19.8 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.3247, allocations: 147.5 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3249, allocations: 75.83 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.3249, allocations: 192 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3251, allocations: 55.84 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.3251, allocations: 39.83 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3252, allocations: 4 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.3255, allocations: 147.7 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.3255, allocations: 19.92 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3255, allocations: 27.86 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3258, allocations: 151 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3258, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3258, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3258, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 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.0006272/0.3264, allocations: 363.5 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3265, allocations: 12.03 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.206e-05/0.3265, allocations: 192 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.3265, allocations: 30.75 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.3269, allocations: 28.91 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3271, allocations: 142.3 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3271, allocations: 4.375 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3271, allocations: 8.125 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3273, allocations: 69.66 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3273, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3274, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3274, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3275, allocations: 35.97 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.3281, allocations: 275.8 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3283, allocations: 50.55 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.3284, allocations: 32.97 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3284, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3285, allocations: 75.38 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3286, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.329, allocations: 145.5 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.329, allocations: 51.41 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3291, allocations: 128.1 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3291, allocations: 33.7 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.3292, allocations: 88.09 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3292, allocations: 27.89 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.3293, allocations: 29.7 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3294, allocations: 322.8 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.3295, allocations: 23.98 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.3296, allocations: 46.55 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3298, allocations: 78.48 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3298, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.33, allocations: 109.6 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.33, allocations: 7.984 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.33, allocations: 4 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.33, allocations: 0 / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.3301, allocations: 8 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3301, allocations: 3.938 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.3302, allocations: 23.92 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3302, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 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.0001023/0.3303, allocations: 119.2 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.3304, allocations: 3.953 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.3304, allocations: 20.3 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3304, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3304, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3304, allocations: 7.938 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3309, allocations: 341.6 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3309, allocations: 4 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.3309, allocations: 7.984 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3309, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.331, allocations: 11.94 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.331, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.331, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3313, allocations: 211.5 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.3313, allocations: 15.89 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3313, allocations: 3.938 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.3314, allocations: 8 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.3315, allocations: 11.92 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3315, allocations: 0 / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.3316, allocations: 100.8 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3316, allocations: 0 / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003318/0.3319, allocations: 39.92 kB / 1.29 GB, free: 4.363 MB / 0.9825 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.0009949/0.3329, allocations: 0.8093 MB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.3331, allocations: 75.83 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3331, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.3332, allocations: 31.92 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3335, allocations: 17.77 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3353, allocations: 1.498 MB / 1.292 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.3353, allocations: 83.12 kB / 1.292 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.3354, allocations: 4 kB / 1.292 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3354, allocations: 23.42 kB / 1.292 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3354, allocations: 0 / 1.292 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.359, allocations: 2.906 MB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.21, allocations: 13.42 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.01572592696175] Failed to read output from testmodel.py, exit status != 0: 12.97284333303105 12.393064627 12.063799403 Calling exit ...