Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_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.005691/0.005691, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001109/0.001109, allocations: 204 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.72 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2376, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002658/0.2403, allocations: 1.5 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2416, allocations: 0.7337 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.2417, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.2417, allocations: 7.922 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.2418, allocations: 7.875 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.2424, allocations: 123.6 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2425, allocations: 75.78 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.2426, allocations: 19.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.2428, allocations: 31.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.2428, allocations: 47.81 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2429, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.2431, allocations: 99.84 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.2431, allocations: 11.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.2431, allocations: 31.86 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2434, allocations: 139.8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2434, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2434, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2434, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 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.0006023/0.244, allocations: 416.7 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2441, allocations: 8.031 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.2441, allocations: 42.73 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2442, allocations: 8.891 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2443, allocations: 188.1 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2443, allocations: 384 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2443, allocations: 12.38 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2446, allocations: 69.78 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2446, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2446, allocations: 3.984 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2446, allocations: 3.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2447, allocations: 31.98 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.2454, allocations: 328.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2455, allocations: 46.56 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.2456, allocations: 32.97 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2457, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.2459, allocations: 87.44 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.026e-06/0.2459, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.2463, allocations: 137.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.2463, allocations: 59.39 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.2464, allocations: 117.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2464, allocations: 25.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.2465, allocations: 96.12 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.2465, allocations: 11.84 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.2466, allocations: 33.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2467, allocations: 322.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.2468, allocations: 23.97 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.2469, allocations: 54.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2471, allocations: 78.8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2471, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002477/0.2474, allocations: 117.5 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2474, allocations: 5.562 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2474, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2474, allocations: 8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.2475, allocations: 11.94 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2475, allocations: 8.047 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.2476, allocations: 11.95 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2476, allocations: 4 kB / 1.093 GB, free: 12.6 MB / 0.8575 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.371e-05/0.2477, allocations: 120.4 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.2477, allocations: 7.953 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2478, allocations: 12.36 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2478, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2478, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2478, allocations: 7.984 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2482, allocations: 382.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2482, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.2483, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2483, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2483, allocations: 3.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2483, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2483, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.2486, allocations: 211.4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.2487, allocations: 88.94 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.2487, allocations: 11.98 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.2488, allocations: 3.938 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2488, allocations: 7.984 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2489, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.069e-05/0.2489, allocations: 99.2 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2489, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002968/0.2492, allocations: 35.94 kB / 1.093 GB, free: 11.51 MB / 0.8575 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.0007908/0.25, allocations: 0.7928 MB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.2503, allocations: 80.19 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2503, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.2504, allocations: 36.08 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2507, allocations: 12.09 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2522, allocations: 1.486 MB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2524, allocations: 0.6885 MB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.2525, allocations: 19.67 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.2525, allocations: 19.44 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2525, allocations: 0 / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2698, allocations: 2.645 MB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.57, allocations: 7.688 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_9_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