Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107 kB / 16.45 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.001373/0.001373, allocations: 192.5 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.92 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.744/2.744, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8011, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002803/0.8039, allocations: 1.489 MB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.8054, allocations: 0.7377 MB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.8054, allocations: 4 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.8054, allocations: 3.938 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.8055, allocations: 11.88 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.8061, allocations: 119.6 kB / 1.271 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.8062, allocations: 79.77 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.8063, allocations: 7.953 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.8064, allocations: 47.83 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.8065, allocations: 39.84 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.8065, allocations: 4 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.8067, allocations: 103.9 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.8067, allocations: 15.92 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.8068, allocations: 35.8 kB / 1.271 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.807, allocations: 145.4 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.807, allocations: 0 / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.807, allocations: 0 / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.807, allocations: 0 / 1.271 GB, free: 2.309 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.0006683/0.8077, allocations: 420.7 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.8077, allocations: 8.031 kB / 1.272 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.8078, allocations: 38.75 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.8078, allocations: 8.891 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.808, allocations: 176.3 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.808, allocations: 8.312 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.808, allocations: 8.375 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.8082, allocations: 65.78 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8082, allocations: 0 / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8082, allocations: 4 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.8082, allocations: 0 / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.8083, allocations: 39.97 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.8089, allocations: 312.7 kB / 1.273 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.8091, allocations: 50.48 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.8091, allocations: 36.97 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.8092, allocations: 0 / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.8094, allocations: 79.38 kB / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8094, allocations: 0 / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003935/0.8098, allocations: 141.5 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.8098, allocations: 55.41 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.8099, allocations: 133.7 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.8099, allocations: 33.7 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.81, allocations: 84.14 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.81, allocations: 19.84 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.8101, allocations: 25.7 kB / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8102, allocations: 326.8 kB / 1.273 GB, free: 44 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.8103, allocations: 23.98 kB / 1.273 GB, free: 20 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.8104, allocations: 54.59 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.8106, allocations: 70.8 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8106, allocations: 4 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002377/0.8108, allocations: 113.6 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8109, allocations: 12 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8109, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8109, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.811, allocations: 11.98 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.811, allocations: 4 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.811, allocations: 7.938 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.811, allocations: 7.984 kB / 1.274 GB, free: 15.71 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.0001126/0.8112, allocations: 129.7 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.8112, allocations: 7.953 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.8112, allocations: 4.375 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.8112, allocations: 7.875 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8112, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8112, allocations: 4 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.8117, allocations: 390.4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8117, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.8118, allocations: 3.984 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8118, allocations: 8 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8118, allocations: 0 / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8118, allocations: 3.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8118, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.8121, allocations: 207.5 kB / 1.274 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.8121, allocations: 81.06 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8121, allocations: 0 / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.8122, allocations: 15.92 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.8123, allocations: 4 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.8123, allocations: 4 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.8123, allocations: 99.2 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8123, allocations: 0 / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002993/0.8126, allocations: 43.86 kB / 1.275 GB, free: 14.61 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.0008362/0.8135, allocations: 0.7925 MB / 1.275 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.8137, allocations: 76.19 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8137, allocations: 128 / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.8138, allocations: 36.06 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.8141, allocations: 22.67 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.8158, allocations: 1.498 MB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.8161, allocations: 0.6884 MB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.8161, allocations: 4 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.8161, allocations: 26.42 kB / 1.278 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8162, allocations: 3.938 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.8409, allocations: 2.676 MB / 1.28 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.938, allocations: 11.89 kB / 1.28 GB, free: 8.809 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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: 14.906194678973407]