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.006268/0.006268, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001569/0.001569, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.058/2.058, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.91 kB / 0.9504 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6106, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001991/0.6126, allocations: 1.478 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.6136, allocations: 0.729 MB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.6137, allocations: 0 / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.6137, allocations: 5.25 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.6137, allocations: 15.14 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.6142, allocations: 120.7 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.6143, allocations: 81.2 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.6144, allocations: 8.734 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.6145, allocations: 34.47 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.6145, allocations: 45.17 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.6145, allocations: 7.094 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.6147, allocations: 98.84 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.6147, allocations: 14 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.6148, allocations: 32.17 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.615, allocations: 140.7 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.615, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.615, allocations: 1.031 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.615, allocations: 0.5156 kB / 1.09 GB, free: 3.508 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.0004633/0.6155, allocations: 422.7 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.6155, allocations: 12.75 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.6156, allocations: 38.11 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.6156, allocations: 9.531 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.862e-05/0.6157, allocations: 176.9 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.6157, allocations: 2.938 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.6157, allocations: 16.28 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6159, allocations: 69.25 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6159, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6159, allocations: 1.5 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6159, allocations: 4.516 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.616, allocations: 35.3 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.6165, allocations: 314.9 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.6166, allocations: 50.86 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.6167, allocations: 35.12 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6167, allocations: 5.281 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.6169, allocations: 77.08 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.6169, allocations: 0 / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.00037/0.6173, allocations: 141.2 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.6173, allocations: 58.34 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.6174, allocations: 118.8 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.6174, allocations: 27.67 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.6174, allocations: 95.98 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.6175, allocations: 11.45 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.6175, allocations: 29.7 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.6175, allocations: 327.9 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.6176, allocations: 26.86 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.6177, allocations: 50.81 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.6179, allocations: 76.16 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6179, allocations: 0 / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002188/0.6181, allocations: 109.2 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6181, allocations: 5.094 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6181, allocations: 5.422 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6181, allocations: 1.344 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.6182, allocations: 15.33 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6182, allocations: 2.703 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.6183, allocations: 17.06 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6183, allocations: 3.078 kB / 1.092 GB, free: 1.469 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 5.652e-05/0.6184, allocations: 128.4 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.6184, allocations: 6.875 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.6184, allocations: 11.44 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6184, allocations: 0.6875 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6185, allocations: 0.75 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6185, allocations: 0.75 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.6188, allocations: 386.7 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6188, allocations: 0 / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.6189, allocations: 9.453 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6189, allocations: 0.75 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6189, allocations: 3.188 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6189, allocations: 3.938 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6189, allocations: 0.7812 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.6191, allocations: 207.6 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.6192, allocations: 83.75 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.6192, allocations: 9.828 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.6193, allocations: 7.859 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.6193, allocations: 5.047 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.6193, allocations: 3.844 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.6194, allocations: 91.58 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6194, allocations: 0 / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002742/0.6197, allocations: 46.86 kB / 1.093 GB, free: 0.6133 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.0006106/0.6203, allocations: 0.8068 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.6205, allocations: 76 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6205, allocations: 0.625 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.6206, allocations: 33.66 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.0002357/0.6209, allocations: 13.83 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.6225, allocations: 1.496 MB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.6227, allocations: 0.6871 MB / 1.096 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.6227, allocations: 13.19 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.6228, allocations: 20.62 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.6228, allocations: 0 / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.469/2.092, allocations: 2.642 MB / 1.099 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.76, allocations: 5.438 kB / 1.099 GB, free: 13.36 MB / 0.8731 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