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.009111/0.009112, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.0019/0.0019, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.12 kB / 1.054 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.894, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003134/0.8972, allocations: 1.483 MB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.8988, allocations: 0.7245 MB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.8989, allocations: 0 / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.8989, allocations: 3.938 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.8991, allocations: 19.8 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.8998, allocations: 119.6 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.9, allocations: 87.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.9001, allocations: 11.95 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.9002, allocations: 35.91 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.9003, allocations: 43.83 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.9003, allocations: 8 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.9005, allocations: 87.84 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.9006, allocations: 15.98 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.9007, allocations: 39.78 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.9009, allocations: 145.9 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.901, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.901, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.901, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 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.0008203/0.9018, allocations: 420.9 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9019, allocations: 8.031 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.9019, allocations: 42.69 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.902, allocations: 4.844 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.9021, allocations: 176.2 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.9021, allocations: 8.375 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.9022, allocations: 8.375 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.9024, allocations: 69.78 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9024, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9024, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9024, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.9026, allocations: 39.91 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.9032, allocations: 320.7 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.9034, allocations: 46.56 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.9035, allocations: 36.95 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.9035, allocations: 0 / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.9037, allocations: 95.14 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.9037, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.9041, allocations: 133.7 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.9042, allocations: 59.41 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.9043, allocations: 117.8 kB / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.9043, allocations: 33.69 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.9044, allocations: 92.14 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.9044, allocations: 11.81 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.9045, allocations: 29.7 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9046, allocations: 326.8 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.9047, allocations: 19.98 kB / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.9048, allocations: 54.44 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.905, allocations: 78.84 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.905, allocations: 4 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002519/0.9053, allocations: 105.5 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9053, allocations: 8 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9053, allocations: 0 / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9054, allocations: 64 / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.9055, allocations: 19.92 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9055, allocations: 4 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.9056, allocations: 11.94 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.9056, allocations: 4 kB / 1.212 GB, free: 8.133 MB / 0.9356 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 0.0001053/0.9057, allocations: 121.8 kB / 1.212 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.9057, allocations: 11.91 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.9058, allocations: 8.375 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9058, allocations: 7.938 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9058, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9058, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.9063, allocations: 382.4 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9063, allocations: 0 / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.9063, allocations: 7.984 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9063, allocations: 4 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.9064, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9064, allocations: 3.938 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9064, allocations: 4 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.9067, allocations: 215.3 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.9067, allocations: 81.02 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.9068, allocations: 4 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.9068, allocations: 7.938 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.9069, allocations: 7.984 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.9069, allocations: 4 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.907, allocations: 95.27 kB / 1.213 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/0.907, allocations: 0 / 1.213 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003168/0.9073, allocations: 43.92 kB / 1.213 GB, free: 7.039 MB / 0.9356 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.0008126/0.9081, allocations: 0.8064 MB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.9084, allocations: 72.25 kB / 1.214 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9084, allocations: 0 / 1.214 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.9085, allocations: 39.86 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.9088, allocations: 19.05 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.9105, allocations: 1.482 MB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.9107, allocations: 0.6924 MB / 1.216 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.9108, allocations: 4 kB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.9108, allocations: 23.42 kB / 1.216 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9108, allocations: 3.938 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.9327, allocations: 2.681 MB / 1.219 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.553, allocations: 5.375 kB / 1.219 GB, free: 1.234 MB / 0.9356 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