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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 110.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001968/0.001968, allocations: 67.89 kB / 1.104 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7545, allocations: 168.7 MB / 1.269 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002907/0.7574, allocations: 1.483 MB / 1.27 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.7587, allocations: 0.7377 MB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.7587, allocations: 3.938 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.7588, allocations: 7.938 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.7588, allocations: 11.86 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.7593, allocations: 123.6 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.7594, allocations: 75.77 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.7595, allocations: 15.94 kB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.7596, allocations: 39.86 kB / 1.271 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.7597, allocations: 43.83 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.7597, allocations: 4 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.7599, allocations: 99.88 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.7599, allocations: 15.98 kB / 1.271 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.76, allocations: 39.78 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.7602, allocations: 149.3 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7602, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7602, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7602, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 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.0007547/0.761, allocations: 420.7 kB / 1.272 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.761, allocations: 8.031 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.7611, allocations: 38.73 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.7611, allocations: 8.891 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.7612, allocations: 168.3 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.7613, allocations: 4.375 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.7613, allocations: 4.375 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.7615, allocations: 81.7 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7615, allocations: 0 / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7615, allocations: 4 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7615, allocations: 0 / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.7616, allocations: 35.97 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.7623, allocations: 316.7 kB / 1.273 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.7624, allocations: 50.5 kB / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.7625, allocations: 32.91 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.7625, allocations: 4 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.7627, allocations: 71.38 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.7627, allocations: 0 / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004024/0.7631, allocations: 141.6 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7632, allocations: 63.33 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.7633, allocations: 129.6 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.7633, allocations: 29.7 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.7634, allocations: 92.12 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.7634, allocations: 15.97 kB / 1.273 GB, free: 500 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.7635, allocations: 29.7 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7636, allocations: 322.8 kB / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.7637, allocations: 27.97 kB / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.7638, allocations: 50.56 kB / 1.274 GB, free: 44 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.764, allocations: 74.48 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.764, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002454/0.7642, allocations: 117.5 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7642, allocations: 4 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.7642, allocations: 4 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7643, allocations: 0 / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.7644, allocations: 15.98 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7644, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.7644, allocations: 11.94 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.7644, allocations: 4 kB / 1.274 GB, free: 15.8 MB / 0.9825 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.0001339/0.7646, allocations: 125.8 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.7646, allocations: 15.88 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.7646, allocations: 8.375 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7646, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.7646, allocations: 0 / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.7646, allocations: 4 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.7652, allocations: 382.8 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7652, allocations: 4 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.7652, allocations: 7.938 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7653, allocations: 0 / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.7653, allocations: 3.984 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.7653, allocations: 3.938 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7653, allocations: 0 / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.7656, allocations: 203.6 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.7656, allocations: 89.05 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.7656, allocations: 8 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.7657, allocations: 3.938 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.7658, allocations: 7.984 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7658, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.7659, allocations: 95.27 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7659, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003086/0.7662, allocations: 39.88 kB / 1.275 GB, free: 14.71 MB / 0.9825 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.001028/0.7672, allocations: 0.8113 MB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.7675, allocations: 75.83 kB / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7675, allocations: 0 / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.7676, allocations: 27.98 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.7679, allocations: 10.86 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.7698, allocations: 1.502 MB / 1.277 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.7702, allocations: 0.6884 MB / 1.278 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.7704, allocations: 12.38 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.7704, allocations: 19.44 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.7704, allocations: 0 / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.7959, allocations: 2.679 MB / 1.28 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.225, allocations: 12.09 kB / 1.28 GB, free: 8.898 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" 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 [Calling sys.exit(0), Time elapsed: 15.162686202209443]