Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_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.008348/0.008348, allocations: 94.77 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.002287/0.002287, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.526/2.526, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002376/0.259, allocations: 1.479 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2602, allocations: 0.7323 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.2602, allocations: 4 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.2603, allocations: 7.875 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.2603, allocations: 7.922 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.2608, allocations: 127.5 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2609, allocations: 75.77 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.261, allocations: 8 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.2611, allocations: 39.91 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.2612, allocations: 39.83 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2612, allocations: 8 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2614, allocations: 99.84 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.2614, allocations: 7.984 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2615, allocations: 35.84 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.2617, allocations: 147.8 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2617, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2617, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2617, allocations: 0 / 1.169 GB, free: 4.457 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.0005451/0.2623, allocations: 432.6 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2623, allocations: 8.031 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.2623, allocations: 38.75 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.2624, allocations: 8.891 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.2625, allocations: 176.3 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2625, allocations: 4.375 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2625, allocations: 12.31 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2627, allocations: 77.72 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.2627, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2627, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2627, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2629, allocations: 35.97 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.2634, allocations: 316.8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2636, allocations: 50.56 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.2637, allocations: 40.91 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2637, allocations: 3.984 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.2639, allocations: 71.39 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2639, allocations: 0 / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003793/0.2643, allocations: 141.6 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2643, allocations: 59.47 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.2644, allocations: 125.7 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2645, allocations: 29.69 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2645, allocations: 92.09 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.2645, allocations: 19.78 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.2646, allocations: 29.7 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.2647, allocations: 330.8 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.2648, allocations: 23.98 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.2649, allocations: 46.56 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.265, allocations: 78.48 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2651, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.2653, allocations: 109.5 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2653, allocations: 5.719 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2653, allocations: 400 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2653, allocations: 4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.2655, allocations: 15.98 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2655, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.2655, allocations: 4 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2656, allocations: 8.062 kB / 1.171 GB, free: 1.852 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 8.607e-05/0.2657, allocations: 126.4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.2657, allocations: 7.953 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2657, allocations: 8.375 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2657, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2657, allocations: 4 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2657, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2662, allocations: 390.4 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2662, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.2662, allocations: 7.984 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2662, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2663, allocations: 3.938 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.2663, allocations: 7.875 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2663, allocations: 3.938 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2666, allocations: 207.5 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2666, allocations: 92.98 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2666, allocations: 8 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.2667, allocations: 3.938 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.2668, allocations: 11.97 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2668, allocations: 4 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.2668, allocations: 91.27 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2669, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003177/0.2672, allocations: 39.92 kB / 1.172 GB, free: 0.7539 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.0007459/0.2679, allocations: 0.7964 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2682, allocations: 71.89 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2682, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.2683, allocations: 35.98 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2686, allocations: 15.86 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2701, allocations: 1.497 MB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2703, allocations: 0.6885 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.2704, allocations: 4 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.2704, allocations: 27.42 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2704, allocations: 0 / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2873, allocations: 2.661 MB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.433, allocations: 3.953 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_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_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_10_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