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.001558/0.001558, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001614/0.001614, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.81/2.81, allocations: 476.7 MB / 0.7715 GB, free: 4.434 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.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.002099/0.002099, allocations: 65.86 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 170 MB / 1.284 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00302/0.3739, allocations: 1.519 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3754, allocations: 0.8157 MB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3755, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.3755, allocations: 15.86 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.3756, allocations: 11.88 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.3762, allocations: 143.6 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3764, allocations: 79.7 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3765, allocations: 8.188 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3766, allocations: 39.89 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.3767, allocations: 39.84 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3767, allocations: 4 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.377, allocations: 159.7 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.377, allocations: 15.98 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3771, allocations: 31.8 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.3774, allocations: 155 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3774, allocations: 0 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.506e-06/0.3774, allocations: 4 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3774, allocations: 0 / 1.287 GB, free: 8.625 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.0006446/0.378, allocations: 351.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3781, allocations: 8.031 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.3781, allocations: 8.188 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3781, allocations: 34.75 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.3785, allocations: 32.86 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3787, allocations: 130.2 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3787, allocations: 4.375 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3788, allocations: 8.125 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.379, allocations: 69.66 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.379, allocations: 7.875 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.379, allocations: 0 / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.379, allocations: 0 / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3791, allocations: 47.89 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.3797, allocations: 283.8 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3799, allocations: 50.55 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.3799, allocations: 32.91 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.38, allocations: 0 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3801, allocations: 79.38 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3801, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004742/0.3806, allocations: 137.7 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.3807, allocations: 55.41 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3808, allocations: 126.1 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3808, allocations: 29.64 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3809, allocations: 96.09 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3809, allocations: 19.83 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.381, allocations: 29.7 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3811, allocations: 322.8 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.3812, allocations: 23.98 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3813, allocations: 54.48 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3815, allocations: 74.48 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3815, allocations: 4 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002377/0.3817, allocations: 105.6 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3817, allocations: 8 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3817, allocations: 7.984 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3818, allocations: 0 / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3819, allocations: 8 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3819, allocations: 4 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.3819, allocations: 19.86 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.382, allocations: 4.062 kB / 1.289 GB, free: 6.176 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.0001169/0.3821, allocations: 117.8 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.3821, allocations: 7.891 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.3821, allocations: 16.36 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3821, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3821, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3821, allocations: 3.938 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3827, allocations: 358 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3827, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.3827, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3827, allocations: 4 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3827, allocations: 3.938 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3827, allocations: 3.938 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3827, allocations: 3.984 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.383, allocations: 211.6 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.3831, allocations: 11.89 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3831, allocations: 11.88 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.3832, allocations: 3.984 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3832, allocations: 4 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3832, allocations: 3.984 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.3833, allocations: 99.27 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3833, allocations: 0 / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003243/0.3836, allocations: 31.94 kB / 1.29 GB, free: 5.219 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.001033/0.3846, allocations: 0.8055 MB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3849, allocations: 79.77 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3849, allocations: 0 / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.385, allocations: 31.98 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3853, allocations: 12.59 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.3872, allocations: 1.51 MB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3875, allocations: 0.6885 MB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.3876, allocations: 7.938 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3876, allocations: 27.42 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of SimCode: time 8.92e-07/0.3876, allocations: 0 / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.4116, allocations: 2.852 MB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.69, allocations: 5.438 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.51530491100857] Failed to read output from testmodel.py, exit status != 0: 13.439754871011246 12.882049542 12.499849824 Calling exit ...