Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.004277/0.004277, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001249/0.001249, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 482.4 MB / 0.7548 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 71.44 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2829, allocations: 162.2 MB / 1.241 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002854/0.2858, allocations: 1.478 MB / 1.243 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2872, allocations: 0.726 MB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.2873, allocations: 0 / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2873, allocations: 3.938 kB / 1.244 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.2874, allocations: 15.86 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.2879, allocations: 119.6 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2881, allocations: 83.75 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.2882, allocations: 11.98 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.2882, allocations: 43.78 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.2883, allocations: 39.83 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2884, allocations: 4 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2886, allocations: 103.8 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.2886, allocations: 15.98 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.2887, allocations: 31.8 kB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2889, allocations: 135.8 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2889, allocations: 0 / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2889, allocations: 0 / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2889, allocations: 4 kB / 1.244 GB, free: 6.535 MB / 0.9669 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.0006598/0.2896, allocations: 428.6 kB / 1.245 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2897, allocations: 16.03 kB / 1.245 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.2897, allocations: 30.75 kB / 1.245 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.2897, allocations: 8.891 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2899, allocations: 180.2 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2899, allocations: 8.375 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2899, allocations: 384 / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.2901, allocations: 69.78 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2901, allocations: 0 / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2902, allocations: 4 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2902, allocations: 4 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2903, allocations: 39.97 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.2909, allocations: 304.8 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2911, allocations: 58.48 kB / 1.245 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.2912, allocations: 36.97 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2912, allocations: 4.062 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2914, allocations: 83.36 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2914, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.2919, allocations: 141.5 kB / 1.246 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.2919, allocations: 51.41 kB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.292, allocations: 129.8 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2921, allocations: 29.7 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.2921, allocations: 92.09 kB / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2922, allocations: 27.81 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.2922, allocations: 21.72 kB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2924, allocations: 322.8 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.2925, allocations: 27.98 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2926, allocations: 50.55 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2928, allocations: 70.5 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2928, allocations: 0 / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002693/0.2931, allocations: 117.6 kB / 1.246 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2931, allocations: 7.938 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2931, allocations: 4 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2931, allocations: 0 / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.2932, allocations: 11.98 kB / 1.246 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2932, allocations: 0 / 1.246 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.2933, allocations: 7.984 kB / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2933, allocations: 4 kB / 1.246 GB, free: 3.934 MB / 0.9669 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.0001013/0.2934, allocations: 129.8 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2935, allocations: 7.953 kB / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.2935, allocations: 8.375 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2935, allocations: 0 / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2935, allocations: 0 / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2935, allocations: 3.984 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.294, allocations: 386.3 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.294, allocations: 3.984 kB / 1.247 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.2941, allocations: 8 kB / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2941, allocations: 0 / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2941, allocations: 0 / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2941, allocations: 7.938 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2941, allocations: 0 / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.2944, allocations: 203.5 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.2945, allocations: 92.98 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2945, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.2946, allocations: 15.92 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2947, allocations: 0 / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2947, allocations: 7.938 kB / 1.247 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.244e-05/0.2948, allocations: 95.92 kB / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002941/0.2951, allocations: 39.92 kB / 1.247 GB, free: 2.84 MB / 0.9669 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.0008927/0.296, allocations: 0.8144 MB / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2962, allocations: 71.91 kB / 1.248 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2962, allocations: 4.125 kB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.2963, allocations: 31.98 kB / 1.248 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2966, allocations: 15.86 kB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2984, allocations: 1.489 MB / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2987, allocations: 0.6885 MB / 1.25 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.2988, allocations: 4 kB / 1.25 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.2988, allocations: 19.42 kB / 1.25 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.2988, allocations: 4 kB / 1.25 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3224, allocations: 2.662 MB / 1.253 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.028, allocations: 13.19 kB / 1.253 GB, free: 13.05 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset