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.001333/0.001333, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00159/0.00159, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.822/2.822, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.001959/0.001959, allocations: 60.81 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003054/0.3204, allocations: 1.491 MB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.322, allocations: 0.7613 MB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.322, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.3221, allocations: 3.938 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.3221, allocations: 15.84 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.3228, allocations: 139.5 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.323, allocations: 75.83 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.3231, allocations: 12.17 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3232, allocations: 55.78 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.3233, allocations: 35.89 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3233, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.3237, allocations: 143.8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3237, allocations: 19.92 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3237, allocations: 31.84 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.324, allocations: 152.9 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.324, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.324, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.324, allocations: 0 / 1.287 GB, free: 7.785 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.0006402/0.3247, allocations: 353.5 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3247, allocations: 8.031 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.769e-05/0.3247, allocations: 4.188 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.3248, allocations: 38.73 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.3251, allocations: 24.92 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3254, allocations: 144.2 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3254, allocations: 4.375 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3255, allocations: 8.062 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3257, allocations: 73.66 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3257, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3257, allocations: 3.938 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3257, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3258, allocations: 35.97 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.3264, allocations: 271.8 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3266, allocations: 42.56 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.3267, allocations: 36.95 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3267, allocations: 4 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3269, allocations: 75.38 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3269, allocations: 0 / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004532/0.3273, allocations: 149.6 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3274, allocations: 55.41 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3275, allocations: 122.1 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3275, allocations: 33.7 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.3276, allocations: 96.08 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3276, allocations: 15.84 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.3277, allocations: 29.7 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3278, allocations: 322.8 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.3279, allocations: 27.97 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.328, allocations: 46.56 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.3282, allocations: 78.48 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3282, allocations: 0 / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002595/0.3285, allocations: 113.5 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3285, allocations: 4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3285, allocations: 4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3285, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.3286, allocations: 19.92 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3286, allocations: 3.938 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.3287, allocations: 7.938 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3287, allocations: 8.062 kB / 1.289 GB, free: 5.344 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 9.462e-05/0.3288, allocations: 113.8 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3288, allocations: 11.94 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.3288, allocations: 12.38 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3288, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3288, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3288, allocations: 3.938 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.3293, allocations: 346 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3293, allocations: 4 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.3294, allocations: 7.984 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3294, allocations: 0 / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3294, allocations: 7.938 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3294, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3294, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3297, allocations: 219.5 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.3297, allocations: 15.83 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3297, allocations: 3.938 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.3298, allocations: 4 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.3299, allocations: 11.98 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3299, allocations: 4 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.3299, allocations: 96.64 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003192/0.3303, allocations: 39.92 kB / 1.29 GB, free: 4.383 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.0009624/0.3312, allocations: 0.819 MB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.3315, allocations: 75.83 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3315, allocations: 0 / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3316, allocations: 31.92 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3319, allocations: 7.984 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3338, allocations: 1.512 MB / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.3338, allocations: 78.47 kB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.3339, allocations: 3.984 kB / 1.292 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.3339, allocations: 23.38 kB / 1.292 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3339, allocations: 0 / 1.292 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.3581, allocations: 2.904 MB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.22, allocations: 9.484 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.971947474987246] Failed to read output from testmodel.py, exit status != 0: 12.969923082971945 12.437776474 12.108837882 Calling exit ...