Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.008451/0.008451, allocations: 97.66 kB / 15.73 MB, free: 5.555 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.001402/0.001403, allocations: 197.6 kB / 16.67 MB, free: 5.496 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.334/2.334, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9064, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002397/0.9089, allocations: 1.479 MB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.91, allocations: 0.7322 MB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.9101, allocations: 0 / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.9101, allocations: 6.516 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.9102, allocations: 14.27 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.9108, allocations: 121.3 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.911, allocations: 81.53 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.9111, allocations: 10.88 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.9112, allocations: 35.53 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.9113, allocations: 33.27 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.9113, allocations: 6.531 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.9116, allocations: 98.33 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.9116, allocations: 23.14 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.9117, allocations: 31.48 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.912, allocations: 141.2 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.912, allocations: 0.8125 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.912, allocations: 0 / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.912, allocations: 0 / 1.09 GB, free: 3.5 MB / 0.8575 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.0006665/0.9127, allocations: 424.7 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.9127, allocations: 10.22 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.9128, allocations: 37.92 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.9128, allocations: 7.969 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.9129, allocations: 177.8 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.9129, allocations: 3.391 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.913, allocations: 4.562 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.9132, allocations: 76 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9132, allocations: 1 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.9132, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.9132, allocations: 1.641 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.9134, allocations: 35.89 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.914, allocations: 327.6 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.9141, allocations: 44.45 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.9142, allocations: 33.05 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.9143, allocations: 1.031 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.9145, allocations: 80.62 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9145, allocations: 0 / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004521/0.9149, allocations: 141.8 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.915, allocations: 62.52 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.9151, allocations: 118.8 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.9151, allocations: 26.64 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.9152, allocations: 96.45 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.9152, allocations: 16.06 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.9152, allocations: 29.12 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.9153, allocations: 327.7 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.9154, allocations: 23.2 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.9155, allocations: 45.91 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.9157, allocations: 76.55 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9157, allocations: 0 / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.9159, allocations: 113.6 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9159, allocations: 5.25 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.9159, allocations: 1.266 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.916, allocations: 5.562 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.9161, allocations: 11.73 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.9161, allocations: 5.031 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.9161, allocations: 17.09 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.9162, allocations: 3.797 kB / 1.092 GB, free: 1.465 MB / 0.8575 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 6.545e-05/0.9162, allocations: 119.8 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.9163, allocations: 7.859 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.9163, allocations: 10.81 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9163, allocations: 9.234 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.9163, allocations: 0 / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9163, allocations: 1.359 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.9167, allocations: 378.1 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9167, allocations: 0.7812 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.9168, allocations: 5.25 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9168, allocations: 0.8125 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9168, allocations: 6.844 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.9168, allocations: 8.875 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9168, allocations: 0 / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.9171, allocations: 212.7 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.9171, allocations: 82.94 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9171, allocations: 2.453 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.9172, allocations: 17 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.9173, allocations: 3.25 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.9173, allocations: 7.391 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.9173, allocations: 92.11 kB / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9173, allocations: 0 / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003057/0.9177, allocations: 41.75 kB / 1.093 GB, free: 0.6094 MB / 0.8575 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.0008158/0.9185, allocations: 0.8026 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.9188, allocations: 71.98 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9188, allocations: 0.8438 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.9189, allocations: 36.7 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.9192, allocations: 20.92 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.9214, allocations: 1.49 MB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.9218, allocations: 0.691 MB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.9219, allocations: 8.125 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.9219, allocations: 21.41 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.736e-06/0.9219, allocations: 0 / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.9433, allocations: 2.673 MB / 1.099 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.98, allocations: 16.59 kB / 1.099 GB, free: 13.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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