Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001486/0.001486, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001651/0.001651, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.446/2.446, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.36 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2201, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002255/0.2224, allocations: 1.544 MB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2234, allocations: 0.74 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.2234, allocations: 4 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.2235, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.2235, allocations: 7.875 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.224, allocations: 103.8 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.2241, allocations: 79.75 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.2242, allocations: 12 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.2242, allocations: 35.84 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.2243, allocations: 35.89 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2243, allocations: 8 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.2245, allocations: 99.84 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2245, allocations: 15.92 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.2246, allocations: 31.86 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2248, allocations: 151.9 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2248, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2248, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.2248, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 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.0005255/0.2253, allocations: 414.5 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2253, allocations: 8.625 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2254, allocations: 38.75 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.2254, allocations: 12.78 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.2255, allocations: 184.2 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2255, allocations: 384 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2256, allocations: 4.375 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2257, allocations: 81.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2258, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2258, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2258, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.2259, allocations: 35.97 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.2264, allocations: 324.7 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2266, allocations: 42.56 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.2267, allocations: 36.95 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2267, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.2269, allocations: 87.31 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003522/0.2272, allocations: 129.5 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2273, allocations: 55.41 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2274, allocations: 125.8 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2274, allocations: 25.7 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.2274, allocations: 96.05 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2274, allocations: 15.91 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.2275, allocations: 29.7 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2276, allocations: 326.8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.2277, allocations: 23.98 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.2278, allocations: 42.56 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2279, allocations: 78.48 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2279, allocations: 3.938 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.2282, allocations: 117.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2282, allocations: 4 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2282, allocations: 4.062 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2282, allocations: 4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.2283, allocations: 15.92 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2283, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.2284, allocations: 11.91 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2284, allocations: 4.391 kB / 1.057 GB, free: 3.199 MB / 0.8106 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 8.214e-05/0.2285, allocations: 123.3 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2285, allocations: 7.906 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.2286, allocations: 12.38 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2286, allocations: 4 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2286, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2286, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.229, allocations: 386.3 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.229, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.229, allocations: 7.984 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2291, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2291, allocations: 4 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2291, allocations: 7.875 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2291, allocations: 4 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.2293, allocations: 211.3 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2294, allocations: 81.11 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2294, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.2295, allocations: 7.938 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.2296, allocations: 11.98 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2296, allocations: 4 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.2296, allocations: 91.27 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2296, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002785/0.2299, allocations: 43.89 kB / 1.058 GB, free: 2.113 MB / 0.8106 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.0006715/0.2306, allocations: 0.8056 MB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2308, allocations: 71.95 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2308, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.2309, allocations: 36.05 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.2312, allocations: 19.86 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2326, allocations: 1.5 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2328, allocations: 0.6922 MB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.2329, allocations: 4 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2329, allocations: 19.42 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2329, allocations: 4 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.257/1.49, allocations: 2.488 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/1.49, allocations: 272.1 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.646, allocations: 1.781 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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