Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_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.007718/0.007718, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.002162/0.002162, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6584, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002903/0.6613, allocations: 1.638 MB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.6627, allocations: 0.7878 MB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.6628, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.6628, allocations: 7.875 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.6629, allocations: 23.73 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.6635, allocations: 159.5 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.6637, allocations: 147.4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.6638, allocations: 21.11 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.6639, allocations: 67.81 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.664, allocations: 83.72 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.664, allocations: 15.94 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.6643, allocations: 103.8 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.6643, allocations: 31.89 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.6644, allocations: 67.7 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.6647, allocations: 203 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6647, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6647, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.6647, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 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.0008094/0.6656, allocations: 0.5522 MB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6656, allocations: 8.031 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.6656, allocations: 42.67 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.6657, allocations: 12.84 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.6658, allocations: 180.3 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.6659, allocations: 4.375 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.6659, allocations: 12.36 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.6664, allocations: 137.7 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6664, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6664, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6664, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.6669, allocations: 115.8 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.6677, allocations: 376.6 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.6681, allocations: 98.5 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.6685, allocations: 88.77 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6685, allocations: 4 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.669, allocations: 143.2 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.669, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001205/0.6702, allocations: 309.3 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.6702, allocations: 55.78 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.6704, allocations: 145.3 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.6704, allocations: 37.7 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.6705, allocations: 108.2 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6705, allocations: 23.8 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.6706, allocations: 29.7 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6707, allocations: 326.8 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.6709, allocations: 39.97 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.6711, allocations: 89.05 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.6714, allocations: 117 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6714, allocations: 0 / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003906/0.6718, allocations: 161.4 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6718, allocations: 4 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6718, allocations: 4.125 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6718, allocations: 4 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.672, allocations: 19.98 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.672, allocations: 3.938 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.6721, allocations: 19.88 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.6722, allocations: 7.938 kB / 1.227 GB, free: 11.19 MB / 0.9512 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.000109/0.6723, allocations: 122.4 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.6723, allocations: 11.94 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.6723, allocations: 16.72 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6724, allocations: 112 / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6724, allocations: 3.938 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6724, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.6735, allocations: 0.5296 MB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6735, allocations: 0 / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.6736, allocations: 19.92 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.6736, allocations: 0 / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6736, allocations: 3.984 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6736, allocations: 3.938 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6736, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.6745, allocations: 327.4 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.6746, allocations: 101 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.6746, allocations: 3.938 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.6749, allocations: 23.91 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.6749, allocations: 11.98 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.6749, allocations: 4.094 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.675, allocations: 109.3 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.675, allocations: 0 / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000319/0.6754, allocations: 43.94 kB / 1.228 GB, free: 9.766 MB / 0.9512 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.001424/0.6768, allocations: 0.9297 MB / 1.229 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.6774, allocations: 151.8 kB / 1.229 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6774, allocations: 0 / 1.229 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.6778, allocations: 87.92 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.678, allocations: 14.38 kB / 1.229 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.6804, allocations: 1.788 MB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6807, allocations: 0.7039 MB / 1.231 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.064e-05/0.6808, allocations: 7.984 kB / 1.231 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.6809, allocations: 35.42 kB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6809, allocations: 0 / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.705, allocations: 3.491 MB / 1.235 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.454, allocations: 3.938 kB / 1.235 GB, free: 2.574 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_11_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