Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.004738/0.004738, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001045/0.001045, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 70.27 kB / 0.9504 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002989/0.2828, allocations: 1.509 MB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2844, allocations: 0.7609 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.2845, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.2846, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.2846, allocations: 19.8 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.2854, allocations: 131.6 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2855, allocations: 107.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2857, allocations: 19.97 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2858, allocations: 43.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.2859, allocations: 55.8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2859, allocations: 8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2861, allocations: 99.84 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.2862, allocations: 23.95 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.2863, allocations: 43.8 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2866, allocations: 162.4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2866, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2866, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2866, allocations: 4 kB / 1.09 GB, free: 15.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008786/0.2875, allocations: 463.4 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.2876, allocations: 15.97 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.2877, allocations: 30.75 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.2877, allocations: 12.84 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2879, allocations: 181.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.288, allocations: 4.375 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.288, allocations: 8.359 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2884, allocations: 97.75 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2884, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2884, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2884, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2886, allocations: 51.89 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.2894, allocations: 344.6 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2896, allocations: 58.56 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2898, allocations: 44.83 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2898, allocations: 96 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.2901, allocations: 103.4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.2901, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005849/0.2907, allocations: 189.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2907, allocations: 59.41 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2908, allocations: 129.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2909, allocations: 29.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.2909, allocations: 92.05 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.291, allocations: 19.75 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.291, allocations: 33.64 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2911, allocations: 326.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.2912, allocations: 27.98 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2913, allocations: 66.89 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2915, allocations: 92.2 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2915, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002594/0.2918, allocations: 133.4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2918, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2918, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2918, allocations: 3.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.292, allocations: 12 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.292, allocations: 3.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.2921, allocations: 11.94 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2921, allocations: 8.031 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001092/0.2922, allocations: 133.7 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.2922, allocations: 11.91 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2923, allocations: 8.359 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2923, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2923, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2923, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.2929, allocations: 434.3 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2929, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.293, allocations: 7.984 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.293, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.293, allocations: 4 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.293, allocations: 7.984 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.293, allocations: 3.938 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.2934, allocations: 243.5 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.2935, allocations: 84.95 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2935, allocations: 4.047 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2936, allocations: 11.97 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.2937, allocations: 11.92 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2937, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.2938, allocations: 99.2 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2938, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003281/0.2941, allocations: 43.98 kB / 1.094 GB, free: 10.93 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008714/0.295, allocations: 0.8338 MB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.2953, allocations: 91.88 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2953, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2955, allocations: 52.45 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2958, allocations: 16.28 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.2975, allocations: 1.598 MB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2978, allocations: 0.6898 MB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.2979, allocations: 4 kB / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.2979, allocations: 23.42 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.2979, allocations: 4 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.3174, allocations: 2.993 MB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.959, allocations: 9.297 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_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_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f