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.007974/0.007974, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.0019/0.0019, allocations: 195.3 kB / 16.67 MB, free: 6.34 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.539/2.539, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 66.12 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003509/0.3136, allocations: 1.466 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3151, allocations: 0.7259 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.3152, allocations: 7.875 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.3153, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3154, allocations: 7.875 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.3162, allocations: 127.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3163, allocations: 75.81 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3165, allocations: 15.98 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3166, allocations: 31.86 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.3167, allocations: 43.81 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3167, allocations: 8 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.317, allocations: 95.91 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.317, allocations: 15.92 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.3171, allocations: 31.86 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3173, allocations: 146.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3173, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3174, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3174, allocations: 0 / 1.09 GB, free: 15.22 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.0006885/0.3181, allocations: 419.7 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3181, allocations: 8.031 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3182, allocations: 38.75 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3182, allocations: 12.84 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3184, allocations: 176.2 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3184, allocations: 4.312 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3184, allocations: 4.375 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3186, allocations: 85.66 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3186, allocations: 3.984 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3186, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3187, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3188, allocations: 35.97 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.3194, allocations: 316.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3196, allocations: 50.5 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.3197, allocations: 32.97 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3197, allocations: 80 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3199, allocations: 83.36 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3199, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.3203, allocations: 133.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3204, allocations: 59.34 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3205, allocations: 121.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3205, allocations: 29.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.3206, allocations: 96.03 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3206, allocations: 11.81 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3207, allocations: 33.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3208, allocations: 322.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.3209, allocations: 27.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.321, allocations: 46.55 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3211, allocations: 82.55 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3212, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002593/0.3214, allocations: 113.5 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3215, allocations: 5.562 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3215, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3215, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3216, allocations: 11.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3216, allocations: 4.062 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.3217, allocations: 7.906 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3217, allocations: 8 kB / 1.092 GB, free: 12.62 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 0.0001295/0.3219, allocations: 131.9 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3219, allocations: 7.906 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.322, allocations: 8.375 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.322, allocations: 4 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.322, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.322, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.3225, allocations: 374.5 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3225, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3225, allocations: 11.92 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3225, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3226, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3226, allocations: 7.875 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3226, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3229, allocations: 215.4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.3229, allocations: 85.02 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.323, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.3231, allocations: 3.938 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3231, allocations: 11.98 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3231, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.3232, allocations: 91.92 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3232, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003169/0.3235, allocations: 43.92 kB / 1.093 GB, free: 11.54 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.0008138/0.3243, allocations: 0.8026 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3246, allocations: 71.89 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3246, allocations: 4 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.3247, allocations: 31.98 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.325, allocations: 11.88 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3266, allocations: 1.498 MB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3269, allocations: 0.6885 MB / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.3269, allocations: 11.75 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.327, allocations: 15.44 kB / 1.096 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.327, allocations: 0 / 1.096 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.3474, allocations: 2.678 MB / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.179, allocations: 17.02 kB / 1.099 GB, free: 5.719 MB / 0.8575 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