Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_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.001067/0.001067, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.27 kB / 0.8992 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002458/0.2924, allocations: 1.478 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2935, allocations: 0.7442 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.2936, allocations: 4 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.2936, allocations: 3.938 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.2937, allocations: 11.86 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.2942, allocations: 123.6 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.2943, allocations: 71.77 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.2944, allocations: 19.98 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.2945, allocations: 31.92 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.2946, allocations: 43.81 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2946, allocations: 8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2948, allocations: 95.84 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.2948, allocations: 15.92 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2949, allocations: 31.84 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2951, allocations: 143.9 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2951, allocations: 0 / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2951, allocations: 4 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2951, allocations: 0 / 1.056 GB, free: 5.453 MB / 0.8106 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.0005499/0.2957, allocations: 417 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2957, allocations: 8.625 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.2957, allocations: 34.75 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.2958, allocations: 8.844 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.2959, allocations: 172.2 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2959, allocations: 8.375 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2959, allocations: 8.359 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2961, allocations: 77.77 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2961, allocations: 3.938 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2961, allocations: 4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2961, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2963, allocations: 35.97 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.2968, allocations: 324.7 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2969, allocations: 42.56 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.297, allocations: 36.97 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.297, allocations: 0 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.2972, allocations: 75.38 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2972, allocations: 7.938 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003593/0.2976, allocations: 137.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2976, allocations: 55.41 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.2977, allocations: 117.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2978, allocations: 33.7 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.2978, allocations: 92.11 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2978, allocations: 23.83 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.2979, allocations: 25.7 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.298, allocations: 330.7 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.2981, allocations: 23.98 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.2982, allocations: 46.56 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2983, allocations: 78.48 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2984, allocations: 0 / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002207/0.2986, allocations: 117.5 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2986, allocations: 5.562 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2986, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2986, allocations: 3.938 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.2987, allocations: 23.98 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2987, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.2988, allocations: 7.906 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2988, allocations: 4 kB / 1.058 GB, free: 2.855 MB / 0.8106 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 8.157e-05/0.2989, allocations: 125.8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.2989, allocations: 11.89 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.299, allocations: 4.375 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.299, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.299, allocations: 4 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.299, allocations: 4 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.2994, allocations: 386.3 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2994, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.2994, allocations: 4 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2994, allocations: 3.984 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2995, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2995, allocations: 3.938 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2995, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.2997, allocations: 215.8 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2998, allocations: 81.09 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2998, allocations: 4 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.2999, allocations: 3.938 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2999, allocations: 7.984 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2999, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.3, allocations: 99.27 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3, allocations: 0 / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002854/0.3003, allocations: 39.91 kB / 1.059 GB, free: 1.773 MB / 0.8106 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.000674/0.301, allocations: 0.8076 MB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3012, allocations: 71.95 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3012, allocations: 0 / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.3013, allocations: 35.92 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3016, allocations: 15.88 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3029, allocations: 1.485 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3032, allocations: 0.6922 MB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.3032, allocations: 4 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.3032, allocations: 23.42 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3033, allocations: 0 / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5765/0.8798, allocations: 2.619 MB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.808, allocations: 9.625 kB / 1.065 GB, free: 12.01 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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