Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_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.005376/0.005376, allocations: 98.11 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.001565/0.001565, allocations: 193 kB / 16.67 MB, free: 5.949 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2972, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00277/0.3001, allocations: 1.478 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3015, allocations: 0.7284 MB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3016, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.3016, allocations: 3.938 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.3017, allocations: 15.86 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.3024, allocations: 123.6 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3025, allocations: 83.69 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3026, allocations: 11.98 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.3027, allocations: 31.92 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.3028, allocations: 35.83 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3029, allocations: 8 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3031, allocations: 103.8 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.3031, allocations: 11.98 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.3032, allocations: 27.86 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.3035, allocations: 143.8 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3035, allocations: 7.922 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3035, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3035, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 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.0007683/0.3043, allocations: 428.7 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3044, allocations: 16.03 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.3044, allocations: 34.69 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.3045, allocations: 12.88 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3046, allocations: 172.3 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3047, allocations: 4.375 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3047, allocations: 4.375 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3049, allocations: 73.77 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3049, allocations: 3.938 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3049, allocations: 4 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3049, allocations: 0 / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3051, allocations: 43.97 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.3058, allocations: 308.7 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3059, allocations: 50.55 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.306, allocations: 40.97 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.306, allocations: 4.062 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.3063, allocations: 79.31 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.3063, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004238/0.3067, allocations: 133.6 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.3068, allocations: 59.41 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3069, allocations: 125.8 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3069, allocations: 29.7 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.307, allocations: 92.09 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.307, allocations: 23.81 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3071, allocations: 21.72 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3072, allocations: 326.8 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.3073, allocations: 27.98 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3074, allocations: 54.48 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3076, allocations: 66.56 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.3076, allocations: 3.984 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002617/0.3079, allocations: 113.6 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3079, allocations: 4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3079, allocations: 4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.308, allocations: 11.97 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3081, allocations: 11.94 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3081, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3082, allocations: 7.984 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3082, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 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.0001139/0.3083, allocations: 125.8 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.3083, allocations: 7.953 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3084, allocations: 4.375 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3084, allocations: 7.984 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3084, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3084, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.3089, allocations: 386.4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3089, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.309, allocations: 8 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.309, allocations: 3.938 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.309, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.309, allocations: 3.938 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.309, allocations: 11.92 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.3093, allocations: 203.9 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3094, allocations: 89 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3094, allocations: 4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.3095, allocations: 11.92 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3096, allocations: 0 / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3096, allocations: 7.984 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.3097, allocations: 95.88 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3097, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003171/0.31, allocations: 39.92 kB / 1.172 GB, free: 0.8242 MB / 0.92 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.0008953/0.3109, allocations: 0.8039 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.3112, allocations: 68.05 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3112, allocations: 4.125 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3113, allocations: 39.91 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3116, allocations: 11.88 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3134, allocations: 1.493 MB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3137, allocations: 0.6885 MB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.3137, allocations: 3.984 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.3138, allocations: 23.42 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3138, allocations: 0 / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3372, allocations: 2.661 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.195, allocations: 8.734 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_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