Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.008921/0.008921, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001894/0.001894, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.785/2.785, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.11 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002642/0.2864, allocations: 1.501 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2877, allocations: 0.7323 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.2878, allocations: 4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.2878, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.2879, allocations: 15.84 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.2885, allocations: 127.5 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2886, allocations: 75.78 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2887, allocations: 15.94 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.2888, allocations: 35.91 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.2889, allocations: 35.84 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2889, allocations: 8 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2892, allocations: 95.84 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.2892, allocations: 23.89 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.2893, allocations: 35.86 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.2895, allocations: 139.5 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2896, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 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.0006931/0.2903, allocations: 416.7 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2903, allocations: 8.031 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.2904, allocations: 42.67 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.2904, allocations: 8.891 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2906, allocations: 172.3 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2906, allocations: 4.375 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2907, allocations: 8.375 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.2909, allocations: 65.78 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2909, allocations: 3.938 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2909, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2909, allocations: 0 / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2911, allocations: 39.95 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.2918, allocations: 324.6 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.2919, allocations: 46.56 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.292, allocations: 32.97 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2921, allocations: 7.984 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.2923, allocations: 79.31 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.2923, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004186/0.2927, allocations: 145.6 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2928, allocations: 51.41 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2929, allocations: 125.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2929, allocations: 25.7 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.293, allocations: 96.14 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.293, allocations: 19.83 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.293, allocations: 29.7 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2932, allocations: 318.8 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.2933, allocations: 27.98 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.2934, allocations: 50.48 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2935, allocations: 74.55 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2936, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.2938, allocations: 109.6 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2938, allocations: 8 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2938, allocations: 3.984 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2939, allocations: 8 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.294, allocations: 15.94 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.294, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.294, allocations: 11.92 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2941, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 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.0001107/0.2942, allocations: 121.8 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.2942, allocations: 3.953 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.2942, allocations: 20.36 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2943, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2943, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2943, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.2947, allocations: 386.4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2948, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.2948, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2948, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2948, allocations: 4 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2948, allocations: 11.92 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2948, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2951, allocations: 207.4 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.2952, allocations: 81.06 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.2952, allocations: 4 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.2953, allocations: 11.92 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2954, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.2954, allocations: 7.984 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.2955, allocations: 95.27 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2955, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003057/0.2958, allocations: 39.88 kB / 1.226 GB, free: 8.125 MB / 0.9825 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.0007673/0.2966, allocations: 0.8322 MB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.2968, allocations: 59.97 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2968, allocations: 0 / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2969, allocations: 39.91 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2972, allocations: 17.94 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2988, allocations: 1.49 MB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.299, allocations: 0.6962 MB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.2991, allocations: 4 kB / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2991, allocations: 23.42 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.2991, allocations: 0 / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3172, allocations: 2.647 MB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.527, allocations: 16 kB / 1.231 GB, free: 2.328 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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