Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_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.006961/0.006961, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00181/0.00181, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 63.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6452, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002335/0.6476, allocations: 1.48 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.6487, allocations: 0.7323 MB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.6488, allocations: 0 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.6488, allocations: 3.938 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.6488, allocations: 15.84 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.6493, allocations: 123.6 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6494, allocations: 79.7 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.6495, allocations: 8 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.6496, allocations: 43.89 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.6497, allocations: 35.84 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.6497, allocations: 4 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.6499, allocations: 99.84 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.6499, allocations: 15.92 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.65, allocations: 31.84 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.6502, allocations: 139.3 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6502, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6502, allocations: 3.938 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.6502, allocations: 0 / 1.169 GB, free: 0.9844 MB / 0.8887 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.0005682/0.6508, allocations: 432.7 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.6508, allocations: 12.03 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.6509, allocations: 30.75 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.6509, allocations: 8.891 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.651, allocations: 172.3 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.651, allocations: 4.375 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.6511, allocations: 8.359 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.6512, allocations: 69.78 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6512, allocations: 4 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6513, allocations: 7.938 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.6513, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6514, allocations: 43.91 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.652, allocations: 320.6 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.6521, allocations: 50.55 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.6522, allocations: 32.97 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6522, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.6524, allocations: 79.31 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6524, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/0.6528, allocations: 145.7 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6528, allocations: 51.41 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.6529, allocations: 121.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.6529, allocations: 29.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.653, allocations: 92.09 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.653, allocations: 15.89 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.6531, allocations: 25.72 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6532, allocations: 326.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.6533, allocations: 31.92 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.6534, allocations: 46.55 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.6535, allocations: 66.56 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6535, allocations: 4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002316/0.6538, allocations: 113.9 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6538, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6538, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6538, allocations: 4 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.6539, allocations: 19.86 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6539, allocations: 80 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.654, allocations: 15.92 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.654, allocations: 12.05 kB / 1.171 GB, free: 14.38 MB / 0.9044 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.139e-05/0.6541, allocations: 123.3 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.6541, allocations: 7.953 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.6542, allocations: 4.375 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6542, allocations: 4 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6542, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6542, allocations: 3.984 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.6546, allocations: 390.4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6546, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.6547, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6547, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6547, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6547, allocations: 7.938 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6547, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.655, allocations: 215.4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.655, allocations: 85.06 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.6551, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.6552, allocations: 15.86 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.6552, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.6552, allocations: 11.98 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.6553, allocations: 91.88 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6553, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002636/0.6555, allocations: 43.86 kB / 1.172 GB, free: 13.29 MB / 0.9044 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.0007572/0.6563, allocations: 0.8033 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.6565, allocations: 75.91 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.6565, allocations: 0 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.6566, allocations: 31.98 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.6569, allocations: 12.67 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6584, allocations: 1.502 MB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.6587, allocations: 0.6945 MB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.6587, allocations: 4 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.6588, allocations: 20.55 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6588, allocations: 4 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6784/1.337, allocations: 2.659 MB / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.94, allocations: 10.3 kB / 1.178 GB, free: 7.488 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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