Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.005152/0.005153, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001523/0.001523, allocations: 192 kB / 16.67 MB, free: 5.918 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.423/1.423, 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.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.91 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2837, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002641/0.2864, allocations: 1.497 MB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2877, allocations: 0.7284 MB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.2878, allocations: 0 / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.2878, allocations: 7.922 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.2879, allocations: 15.86 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2885, allocations: 119.6 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2886, allocations: 79.78 kB / 1.169 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.2887, allocations: 15.98 kB / 1.169 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.106e-05/0.2888, allocations: 39.84 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.2889, allocations: 39.83 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2889, allocations: 4 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.2891, allocations: 91.91 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.2891, allocations: 19.97 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.2892, allocations: 27.86 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2895, allocations: 147.8 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2895, allocations: 0 / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2895, allocations: 3.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2895, allocations: 4 kB / 1.169 GB, free: 4.598 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.0006925/0.2902, allocations: 420.7 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2902, allocations: 12.03 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.2903, allocations: 34.73 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.2903, allocations: 8.891 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2905, allocations: 172.3 kB / 1.17 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2905, allocations: 12.31 kB / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2906, allocations: 4.375 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.2908, allocations: 73.72 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2908, allocations: 0 / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2908, allocations: 3.984 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2908, allocations: 4 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.291, allocations: 35.97 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.2916, allocations: 320.8 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2918, allocations: 50.5 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2919, allocations: 36.97 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2919, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.2921, allocations: 79.38 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2921, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000434/0.2926, allocations: 145.6 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2926, allocations: 55.39 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2928, allocations: 117.8 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2928, allocations: 29.64 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.2929, allocations: 104.1 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.2929, allocations: 11.84 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.293, allocations: 33.7 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2931, allocations: 318.8 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.2932, allocations: 31.97 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2933, allocations: 46.94 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2935, allocations: 78.8 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2935, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002528/0.2938, allocations: 113.5 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2938, allocations: 4 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2938, allocations: 4 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2938, allocations: 4.062 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.2939, allocations: 12 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2939, allocations: 3.984 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.294, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.294, allocations: 7.984 kB / 1.171 GB, free: 1.996 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.0001044/0.2941, allocations: 121.7 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.2942, allocations: 7.953 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.2942, allocations: 12.36 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2942, allocations: 8 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2942, allocations: 0 / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2942, allocations: 0 / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.2947, allocations: 382.4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2948, allocations: 0 / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2948, allocations: 7.938 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2948, allocations: 3.938 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2948, allocations: 7.922 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2948, allocations: 7.938 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2948, allocations: 4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.2952, allocations: 199.5 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.2952, allocations: 93 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2953, allocations: 3.984 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.2954, allocations: 7.938 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.2954, allocations: 3.984 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2955, allocations: 12 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.2955, allocations: 91.27 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2955, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003165/0.2958, allocations: 35.94 kB / 1.172 GB, free: 0.9062 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.000903/0.2968, allocations: 0.8013 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.297, allocations: 72.2 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.297, allocations: 0 / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2972, allocations: 40.11 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2974, allocations: 16.06 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2992, allocations: 1.488 MB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2995, allocations: 0.6924 MB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.2995, allocations: 7.984 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.2996, allocations: 19.44 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2996, allocations: 0 / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.3235, allocations: 2.651 MB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.352, allocations: 7.953 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_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_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_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