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.0008292/0.0008292, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009007/0.0009007, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.829e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001914/0.001932, allocations: 1.494 MB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.00283, allocations: 0.7716 MB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.002877, allocations: 3.938 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.002904, allocations: 7.922 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.002951, allocations: 7.875 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.003419, allocations: 139.5 kB / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.003518, allocations: 83.69 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.003594, allocations: 8.188 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003706, allocations: 59.81 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.00375, allocations: 35.89 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.003766, allocations: 8 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.003942, allocations: 135.7 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.00396, allocations: 19.97 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.003989, allocations: 19.92 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.004178, allocations: 171.5 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00418, allocations: 3.938 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004181, allocations: 3.938 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004185, allocations: 0 / 0.9533 GB, free: 0.5273 MB / 0.9011 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.0004236/0.004608, allocations: 351.5 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.00464, allocations: 16.03 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.004666, allocations: 34.73 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.004828, allocations: 28.88 kB / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.004977, allocations: 128.8 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.004997, allocations: 8.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.005009, allocations: 4.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.005172, allocations: 62.22 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.005178, allocations: 192 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.005189, allocations: 11.94 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005193, allocations: 4 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.005266, allocations: 39.91 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.005615, allocations: 275.8 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.005693, allocations: 46.5 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.005739, allocations: 32.97 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.005755, allocations: 8 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.703e-05/0.005853, allocations: 79.38 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005854, allocations: 4 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002448/0.006098, allocations: 137.6 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.00613, allocations: 55.39 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.006196, allocations: 118.1 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.006209, allocations: 33.7 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.006244, allocations: 88.12 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.006259, allocations: 19.91 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.006294, allocations: 29.7 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.006367, allocations: 318.8 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.006411, allocations: 27.97 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.006462, allocations: 50.5 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.006552, allocations: 74.84 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006553, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001271/0.006681, allocations: 121.5 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.006691, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.006697, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006707, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.006759, allocations: 15.92 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006763, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.006794, allocations: 11.89 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.006804, allocations: 8 kB / 0.9555 GB, free: 14.1 MB / 0.9167 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 5.863e-05/0.006862, allocations: 121.8 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.006871, allocations: 11.94 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.006892, allocations: 20.31 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006893, allocations: 0 / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.006896, allocations: 0 / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0069, allocations: 3.984 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.007164, allocations: 345.5 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007164, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.007181, allocations: 7.984 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.007182, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007189, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00719, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007191, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.007345, allocations: 219.3 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.007352, allocations: 7.953 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.007363, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.007405, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.007433, allocations: 11.98 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.007441, allocations: 7.938 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.007473, allocations: 95.27 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007473, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001967/0.00767, allocations: 43.86 kB / 0.9564 GB, free: 13.13 MB / 0.9167 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.0004786/0.008148, allocations: 0.8148 MB / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.00829, allocations: 68.28 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008291, allocations: 3.938 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.008344, allocations: 32.12 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.008514, allocations: 8.094 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.009577, allocations: 1.505 MB / 0.9587 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.00962, allocations: 73.58 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.009647, allocations: 4 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.009684, allocations: 24.48 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.009685, allocations: 0 / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02508, allocations: 3.406 MB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.886, allocations: 14.62 kB / 0.9622 GB, free: 7.199 MB / 0.9167 GB " [Timeout remaining time 293] (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] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.819520881399512]