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.006064/0.006072, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.00126/0.00126, allocations: 199 kB / 16.68 MB, free: 5.914 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.576/1.576, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 62.56 kB / 0.9504 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2938, allocations: 140.4 MB / 1.087 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003059/0.2969, allocations: 1.478 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2984, allocations: 0.7336 MB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.2984, allocations: 0 / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.2985, allocations: 7.922 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.2986, allocations: 7.875 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.2992, allocations: 127.6 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2994, allocations: 75.78 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2995, allocations: 15.95 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.2996, allocations: 35.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.2997, allocations: 39.83 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2997, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.2999, allocations: 103.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3, allocations: 19.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.3, allocations: 31.86 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3003, allocations: 138.5 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3003, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3003, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3003, allocations: 0 / 1.09 GB, free: 15.33 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.0007466/0.3011, allocations: 405.8 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3011, allocations: 12.03 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3012, allocations: 46.67 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3012, allocations: 8.844 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3014, allocations: 180.2 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3014, allocations: 4.375 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3014, allocations: 8.375 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3016, allocations: 65.78 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3016, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3017, allocations: 3.984 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3017, allocations: 4 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3018, allocations: 39.92 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.3024, allocations: 312.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3026, allocations: 54.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.3027, allocations: 28.97 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3027, allocations: 12 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.3029, allocations: 79.38 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3029, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.3033, allocations: 137.5 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3034, allocations: 55.39 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3035, allocations: 129.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3035, allocations: 25.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.3036, allocations: 96.05 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3036, allocations: 15.8 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.3037, allocations: 29.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3038, allocations: 318.8 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.3039, allocations: 27.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.304, allocations: 54.48 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3042, allocations: 74.48 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3042, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002273/0.3044, allocations: 113.6 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3045, allocations: 9.781 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3045, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3045, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.3046, allocations: 15.94 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3046, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.3047, allocations: 7.906 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3047, allocations: 4 kB / 1.092 GB, free: 12.73 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.0001023/0.3048, allocations: 123.7 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.3048, allocations: 11.91 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3049, allocations: 20.34 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.3053, allocations: 382.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3053, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.3054, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3054, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3054, allocations: 7.984 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3054, allocations: 4.016 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3054, allocations: 3.984 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3057, allocations: 203.4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3057, allocations: 85.02 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3058, allocations: 7.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.3059, allocations: 11.94 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3059, allocations: 7.938 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3059, allocations: 3.984 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.306, allocations: 91.27 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.306, allocations: 3.938 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002823/0.3063, allocations: 40 kB / 1.093 GB, free: 11.64 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.0007518/0.3071, allocations: 0.7963 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3073, allocations: 67.95 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3073, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.3074, allocations: 44.03 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3077, allocations: 17.62 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3092, allocations: 1.489 MB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.3095, allocations: 0.6885 MB / 1.096 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.3095, allocations: 15.67 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3096, allocations: 19.44 kB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3096, allocations: 0 / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.468/1.778, allocations: 2.636 MB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/9.228, allocations: 17.52 kB / 1.099 GB, free: 5.867 MB / 0.8575 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