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 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.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.005111/0.005116, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001507/0.001507, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 59.91 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002539/0.2794, allocations: 1.473 MB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2807, allocations: 0.7245 MB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.2807, allocations: 3.938 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2807, allocations: 3.938 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.2808, allocations: 15.86 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.2813, allocations: 127.6 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2814, allocations: 71.78 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.2815, allocations: 15.97 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.2816, allocations: 31.92 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.2817, allocations: 39.81 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2817, allocations: 11.94 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.2819, allocations: 103.8 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2819, allocations: 15.92 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.282, allocations: 35.84 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2822, allocations: 139.5 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2822, allocations: 0 / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2823, allocations: 0 / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2823, allocations: 0 / 1.244 GB, free: 7.434 MB / 0.9981 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.0006298/0.2829, allocations: 424.7 kB / 1.245 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2829, allocations: 16.03 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.283, allocations: 34.75 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.283, allocations: 8.891 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2832, allocations: 176.2 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2832, allocations: 8.297 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2832, allocations: 12.36 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.2834, allocations: 73.78 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2834, allocations: 0 / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2834, allocations: 0 / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2834, allocations: 0 / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2836, allocations: 39.97 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.2842, allocations: 324.6 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2844, allocations: 42.56 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.2845, allocations: 36.97 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2845, allocations: 0 / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.2847, allocations: 79.38 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2847, allocations: 0 / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003955/0.2851, allocations: 137.5 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2851, allocations: 55.41 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.2852, allocations: 125.8 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2853, allocations: 25.7 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.2853, allocations: 100.1 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2854, allocations: 11.91 kB / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.2854, allocations: 29.7 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2856, allocations: 326.8 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.2857, allocations: 23.98 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2858, allocations: 46.56 kB / 1.246 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.286, allocations: 74.8 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.286, allocations: 0 / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002685/0.2863, allocations: 125.5 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2863, allocations: 4 kB / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2863, allocations: 0 / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2863, allocations: 7.938 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.2864, allocations: 15.92 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2864, allocations: 0 / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.2865, allocations: 11.94 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2865, allocations: 4 kB / 1.246 GB, free: 4.824 MB / 0.9981 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 9.551e-05/0.2866, allocations: 121.8 kB / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.2866, allocations: 11.94 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.2867, allocations: 8.375 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2867, allocations: 4 kB / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2867, allocations: 0 / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2867, allocations: 0 / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.2872, allocations: 382.4 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2872, allocations: 0 / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.2872, allocations: 4 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2873, allocations: 7.984 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2873, allocations: 0 / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2873, allocations: 3.938 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.2873, allocations: 4 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.2876, allocations: 203.5 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.2877, allocations: 89.05 kB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2877, allocations: 4 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.2878, allocations: 11.94 kB / 1.247 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.2879, allocations: 7.984 kB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2879, allocations: 4 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.2879, allocations: 91.27 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2879, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002925/0.2882, allocations: 43.81 kB / 1.247 GB, free: 3.738 MB / 0.9981 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.0008523/0.2891, allocations: 0.8142 MB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2893, allocations: 72.2 kB / 1.248 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2894, allocations: 8.125 kB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2895, allocations: 35.92 kB / 1.248 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.2897, allocations: 8.25 kB / 1.248 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.2914, allocations: 1.497 MB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.2918, allocations: 0.6884 MB / 1.25 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.2918, allocations: 7.984 kB / 1.25 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2919, allocations: 19.44 kB / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.2919, allocations: 0 / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4883/0.7802, allocations: 2.641 MB / 1.253 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.419, allocations: 12.11 kB / 1.253 GB, free: 14.45 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_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_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/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) "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.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_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