Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008554/0.0008553, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4937, allocations: 142.4 MB / 0.9552 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001082/0.4948, allocations: 1.197 MB / 0.9563 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007931/0.4956, allocations: 0.714 MB / 0.957 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.4956, allocations: 1.188 kB / 0.957 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.4957, allocations: 3.984 kB / 0.957 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.4957, allocations: 9.031 kB / 0.957 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.4961, allocations: 113.3 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.4961, allocations: 71.12 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.483e-05/0.4962, allocations: 16.06 kB / 0.9572 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.4963, allocations: 35.12 kB / 0.9573 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.4963, allocations: 35.38 kB / 0.9573 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.4964, allocations: 3.031 kB / 0.9573 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.4965, allocations: 88.16 kB / 0.9574 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.4965, allocations: 15.25 kB / 0.9574 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.4966, allocations: 54.17 kB / 0.9575 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.4967, allocations: 135.6 kB / 0.9576 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4967, allocations: 5.5 kB / 0.9576 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4967, allocations: 0 / 0.9576 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.4967, allocations: 0 / 0.9576 GB, free: 5.91 MB / 0.7169 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.0003769/0.4971, allocations: 412.9 kB / 0.958 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.4972, allocations: 9.219 kB / 0.958 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.4972, allocations: 40.52 kB / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.4972, allocations: 8.469 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.351e-05/0.4973, allocations: 167.9 kB / 0.9582 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4973, allocations: 7.969 kB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.4973, allocations: 3.938 kB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.4974, allocations: 77.48 kB / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.4975, allocations: 1.812 kB / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4975, allocations: 0 / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4975, allocations: 1.781 kB / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.4976, allocations: 49.47 kB / 0.9583 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.498, allocations: 320.9 kB / 0.9586 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.4981, allocations: 52.56 kB / 0.9587 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.4982, allocations: 33.47 kB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4982, allocations: 1.375 kB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.4984, allocations: 87.94 kB / 0.9588 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4984, allocations: 4 kB / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003115/0.4987, allocations: 149.1 kB / 0.959 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.4987, allocations: 58.16 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.4988, allocations: 128.5 kB / 0.9591 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4988, allocations: 27.02 kB / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.4988, allocations: 89.67 kB / 0.9592 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.4988, allocations: 19.45 kB / 0.9593 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.4989, allocations: 21.44 kB / 0.9593 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.4989, allocations: 324.2 kB / 0.9596 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.499, allocations: 26.08 kB / 0.9596 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.4991, allocations: 58.91 kB / 0.9597 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4992, allocations: 75.08 kB / 0.9597 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4992, allocations: 3.938 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001963/0.4994, allocations: 122.7 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.4994, allocations: 5.781 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4994, allocations: 1.312 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.4994, allocations: 1.469 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.4995, allocations: 17.11 kB / 0.9599 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.4995, allocations: 1.25 kB / 0.9599 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.4996, allocations: 17.22 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4996, allocations: 7.172 kB / 0.9599 GB, free: 3.715 MB / 0.7169 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 4.969e-05/0.4997, allocations: 118.2 kB / 0.96 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.4997, allocations: 7.125 kB / 0.96 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.4997, allocations: 14.58 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4997, allocations: 0.9688 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.4997, allocations: 0 / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4997, allocations: 0 / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.5, allocations: 388.5 kB / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5001, allocations: 1.031 kB / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.5001, allocations: 8.703 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5001, allocations: 0 / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5001, allocations: 0.9688 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5001, allocations: 4.938 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5001, allocations: 4 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.5003, allocations: 218.8 kB / 0.9606 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.5004, allocations: 83.3 kB / 0.9607 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.5004, allocations: 8.906 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.5005, allocations: 12.03 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5005, allocations: 6.953 kB / 0.9608 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5005, allocations: 2.438 kB / 0.9608 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.5006, allocations: 92.11 kB / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5006, allocations: 0.75 kB / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002433/0.5008, allocations: 43.92 kB / 0.9609 GB, free: 2.805 MB / 0.7169 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.0004852/0.5013, allocations: 0.8162 MB / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.5015, allocations: 78.7 kB / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5015, allocations: 0 / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.5016, allocations: 43.28 kB / 0.9618 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.5018, allocations: 14.67 kB / 0.9618 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5028, allocations: 1.526 MB / 0.9633 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.503, allocations: 0.6856 MB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.503, allocations: 8.266 kB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.503, allocations: 18.31 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.503, allocations: 0 / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.608, allocations: 2.325 MB / 0.9663 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003983/1.608, allocations: 266 kB / 0.9665 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/3.173, allocations: 7.875 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed