Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.004113/0.004113, allocations: 95.92 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.001218/0.001218, allocations: 198.3 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.43/1.43, 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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002786/0.3002, allocations: 1.638 MB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3016, allocations: 0.7985 MB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.3017, allocations: 4 kB / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.3018, allocations: 11.86 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.3019, allocations: 19.8 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.3025, allocations: 151.6 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3027, allocations: 159.5 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3028, allocations: 25.39 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3029, allocations: 67.77 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.303, allocations: 75.72 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3031, allocations: 16 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3033, allocations: 95.91 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.3033, allocations: 39.88 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.3034, allocations: 63.66 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.3037, allocations: 211.2 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3038, allocations: 7.984 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3038, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3038, allocations: 0 / 1.169 GB, free: 3.977 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008567/0.3046, allocations: 0.5405 MB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3047, allocations: 8.031 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.3047, allocations: 34.75 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3048, allocations: 16.83 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3049, allocations: 192 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.305, allocations: 8.375 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.305, allocations: 4.375 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.3055, allocations: 145.7 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3055, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3055, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3055, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.306, allocations: 99.91 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.3068, allocations: 392.5 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3071, allocations: 98.5 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.3075, allocations: 88.78 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3075, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.308, allocations: 139.2 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.308, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001148/0.3091, allocations: 313.3 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3092, allocations: 55.41 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3093, allocations: 144.5 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3094, allocations: 25.7 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.3094, allocations: 104.8 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3095, allocations: 35.86 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.3095, allocations: 33.7 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3097, allocations: 330.8 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3098, allocations: 43.91 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.31, allocations: 77.12 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.3103, allocations: 125 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3103, allocations: 0 / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003693/0.3107, allocations: 157.5 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3107, allocations: 4 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3107, allocations: 4 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3107, allocations: 0 / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3109, allocations: 23.97 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3109, allocations: 0 / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.311, allocations: 15.95 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.311, allocations: 16.05 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.0001194/0.3112, allocations: 129.4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3112, allocations: 12.03 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.3112, allocations: 16.72 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3112, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3113, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3113, allocations: 3.984 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3123, allocations: 0.5257 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3123, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.3124, allocations: 11.98 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3124, allocations: 4 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3125, allocations: 7.984 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3125, allocations: 3.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3125, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.3133, allocations: 327.3 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.3133, allocations: 81.06 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3134, allocations: 8 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3136, allocations: 24.09 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3137, allocations: 11.98 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3137, allocations: 11.92 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.434e-05/0.3138, allocations: 112.6 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.893e-06/0.3138, allocations: 0 / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003279/0.3141, allocations: 55.81 kB / 1.174 GB, free: 15.03 MB / 0.9356 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0014/0.3155, allocations: 0.9157 MB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.3161, allocations: 139.9 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3161, allocations: 3.938 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.3165, allocations: 96.11 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3167, allocations: 19.84 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.3191, allocations: 1.779 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3195, allocations: 0.7002 MB / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.679e-05/0.3196, allocations: 12.17 kB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3196, allocations: 31.42 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3196, allocations: 0 / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.3454, allocations: 3.473 MB / 1.181 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.253, allocations: 18.11 kB / 1.181 GB, free: 7.855 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_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_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TComf,win.TIn,win.TOut,win.p,TComf.amplitude