Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_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.00155/0.00155, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001303/0.001303, allocations: 189 kB / 16.25 MB, free: 6.152 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.683, allocations: 140.4 MB / 0.9492 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002533/0.6856, allocations: 1.527 MB / 0.9507 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.6868, allocations: 0.7211 MB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.6868, allocations: 1.344 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.6869, allocations: 3.938 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.687, allocations: 5.25 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.6875, allocations: 110.3 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.6877, allocations: 79.52 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.6878, allocations: 17.48 kB / 0.9516 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.6878, allocations: 37.97 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.6879, allocations: 43.89 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.6879, allocations: 6.094 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.6881, allocations: 90.94 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.6882, allocations: 14.77 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.6882, allocations: 36.08 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.6884, allocations: 143.9 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6885, allocations: 4 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.6885, allocations: 1.375 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6885, allocations: 3.938 kB / 0.952 GB, free: 7.168 MB / 0.7169 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.0005762/0.6891, allocations: 419.8 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6891, allocations: 9.531 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.6892, allocations: 36.25 kB / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.6892, allocations: 5.094 kB / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6893, allocations: 172.1 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.6893, allocations: 1.938 kB / 0.9526 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.6894, allocations: 12.53 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.6896, allocations: 67.91 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6896, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.6896, allocations: 4.969 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.6896, allocations: 1.031 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.6897, allocations: 39.88 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.6903, allocations: 326.4 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.6904, allocations: 48.77 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.6905, allocations: 31.53 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6905, allocations: 5.219 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.6907, allocations: 85.28 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.6907, allocations: 0 / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003877/0.6911, allocations: 132.7 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.6911, allocations: 56.62 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.6912, allocations: 125.5 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6913, allocations: 27.11 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.6913, allocations: 95.02 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.6913, allocations: 21.16 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.6914, allocations: 30.89 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.6914, allocations: 324.9 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.6915, allocations: 21.61 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.6916, allocations: 48.48 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.6917, allocations: 74.14 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6917, allocations: 1.219 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002191/0.692, allocations: 116.7 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.692, allocations: 5.312 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.692, allocations: 1.5 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.692, allocations: 4.062 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.6921, allocations: 12.7 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.6921, allocations: 1.094 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.6922, allocations: 12.28 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.6922, allocations: 11.38 kB / 0.9543 GB, free: 4.977 MB / 0.7169 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 7.322e-05/0.6923, allocations: 118.1 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.6923, allocations: 7.406 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.6923, allocations: 9.5 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6924, allocations: 9.062 kB / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6924, allocations: 1.125 kB / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6924, allocations: 0 / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.6928, allocations: 379 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6928, allocations: 0 / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.6928, allocations: 8.359 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6928, allocations: 0 / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6928, allocations: 5.406 kB / 0.9548 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6928, allocations: 7.938 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6928, allocations: 9.188 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.6931, allocations: 201.3 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.6931, allocations: 82.39 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.6931, allocations: 5.438 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.6932, allocations: 15.2 kB / 0.9551 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.6933, allocations: 2.312 kB / 0.9551 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6933, allocations: 6.188 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.6934, allocations: 92.73 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6934, allocations: 0 / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000283/0.6936, allocations: 43.95 kB / 0.9552 GB, free: 4.066 MB / 0.7169 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.0006376/0.6943, allocations: 0.802 MB / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.6945, allocations: 77.56 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6945, allocations: 1.25 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.6946, allocations: 32.2 kB / 0.9561 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6949, allocations: 18.8 kB / 0.9562 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.696, allocations: 1.499 MB / 0.9576 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.6961, allocations: 0.6884 MB / 0.9583 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.6962, allocations: 4.094 kB / 0.9583 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.6962, allocations: 22.23 kB / 0.9583 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6962, allocations: 0 / 0.9583 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.7076, allocations: 2.494 MB / 0.9608 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.7079, allocations: 269.3 kB / 0.961 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.399, allocations: 4 kB / 0.961 GB, free: 15.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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