Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_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.008041/0.008041, allocations: 97.19 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.002201/0.002201, allocations: 193.2 kB / 16.67 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 64.14 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.293, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002651/0.2957, allocations: 1.632 MB / 1.243 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.297, allocations: 0.7985 MB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.2971, allocations: 0 / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.2971, allocations: 7.875 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.2972, allocations: 27.72 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.2978, allocations: 147.6 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.298, allocations: 155.5 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.2981, allocations: 29.08 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2982, allocations: 67.83 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2983, allocations: 71.72 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.2984, allocations: 16 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2986, allocations: 111.8 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.2986, allocations: 31.91 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.2987, allocations: 67.69 kB / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.299, allocations: 203.3 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.299, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.299, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.299, allocations: 0 / 1.245 GB, free: 6.867 MB / 0.9981 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.0007924/0.2998, allocations: 0.5483 MB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2999, allocations: 12.03 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.2999, allocations: 42.67 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3, allocations: 12.89 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3001, allocations: 178.9 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3002, allocations: 4.375 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3002, allocations: 16.34 kB / 1.246 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.3007, allocations: 141.7 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3007, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3007, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3007, allocations: 3.938 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.3012, allocations: 107.8 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.302, allocations: 380.6 kB / 1.246 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3024, allocations: 106.5 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.3028, allocations: 80.78 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3028, allocations: 3.938 kB / 1.246 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004554/0.3032, allocations: 143.3 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3033, allocations: 3.938 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001209/0.3045, allocations: 309.3 kB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3045, allocations: 55.41 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3047, allocations: 145.1 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3047, allocations: 29.7 kB / 1.247 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.3048, allocations: 112.2 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3048, allocations: 19.86 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.3049, allocations: 33.7 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.305, allocations: 322.8 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3051, allocations: 39.97 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3053, allocations: 96.67 kB / 1.248 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.3056, allocations: 121 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3056, allocations: 0 / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003828/0.306, allocations: 153.5 kB / 1.248 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.306, allocations: 7.984 kB / 1.248 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3061, allocations: 4 kB / 1.248 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3061, allocations: 0 / 1.248 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3062, allocations: 32.05 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3062, allocations: 0 / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3064, allocations: 19.88 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3064, allocations: 11.94 kB / 1.248 GB, free: 3.336 MB / 0.9981 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.0001062/0.3065, allocations: 118 kB / 1.248 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3065, allocations: 11.89 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.3066, allocations: 16.7 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3066, allocations: 4 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3066, allocations: 0 / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3066, allocations: 96 / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3077, allocations: 0.5339 MB / 1.249 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3077, allocations: 0 / 1.249 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.3078, allocations: 15.92 kB / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3078, allocations: 0 / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.3079, allocations: 8.078 kB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3079, allocations: 7.875 kB / 1.249 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3079, allocations: 0 / 1.249 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.3087, allocations: 327.3 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3088, allocations: 88.98 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3088, allocations: 4 kB / 1.249 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3091, allocations: 31.91 kB / 1.249 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.3091, allocations: 7.984 kB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3091, allocations: 0 / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.3092, allocations: 111.2 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 0 / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003159/0.3096, allocations: 47.89 kB / 1.249 GB, free: 1.914 MB / 0.9981 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.001399/0.311, allocations: 0.9246 MB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.3115, allocations: 147.9 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3116, allocations: 0 / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.3119, allocations: 87.92 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3122, allocations: 16.09 kB / 1.25 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4896/0.8018, allocations: 1.761 MB / 1.252 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.8019, allocations: 0.7055 MB / 1.253 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.478e-05/0.802, allocations: 10.39 kB / 1.253 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.8021, allocations: 34.11 kB / 1.253 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.8021, allocations: 0.875 kB / 1.253 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.8258, allocations: 3.484 MB / 1.256 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.488, allocations: 13.58 kB / 1.256 GB, free: 12.81 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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