Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004431/0.004431, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001088/0.001088, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.055/2.055, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.675, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006321/0.6813, allocations: 6.472 MB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.8421, allocations: 151.6 MB / 1.242 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.8437, allocations: 20.44 kB / 1.242 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.8448, allocations: 251.2 kB / 1.242 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.8478, allocations: 0.6975 MB / 1.243 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.8512, allocations: 1.363 MB / 1.244 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003379/0.8546, allocations: 2.667 MB / 1.247 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.8569, allocations: 1.596 MB / 1.248 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.8585, allocations: 1.145 MB / 1.249 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.8602, allocations: 1.294 MB / 1.251 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.8609, allocations: 328 kB / 1.251 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.8624, allocations: 0.7066 MB / 1.252 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.863, allocations: 0.6932 MB / 1.252 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.8641, allocations: 1.267 MB / 1.254 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.8674, allocations: 3.563 MB / 1.257 GB, free: 68 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8674, allocations: 0 / 1.257 GB, free: 68 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8674, allocations: 0 / 1.257 GB, free: 68 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.978e-05/0.8675, allocations: 0 / 1.257 GB, free: 68 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005661/0.8731, allocations: 2.788 MB / 1.26 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8732, allocations: 8.031 kB / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000333/0.8735, allocations: 316.9 kB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.889, allocations: 2.108 MB / 1.262 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.8913, allocations: 1.294 MB / 1.263 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.8914, allocations: 168.5 kB / 1.264 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.8918, allocations: 220 kB / 1.264 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008386/0.9002, allocations: 3.282 MB / 1.267 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.9003, allocations: 0 / 1.267 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.9006, allocations: 92 kB / 1.267 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.9006, allocations: 56 kB / 1.267 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.9134, allocations: 4.201 MB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.9286, allocations: 7.237 MB / 1.278 GB, free: 9.961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009168/0.9378, allocations: 2.896 MB / 1.281 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00446/0.9423, allocations: 1.487 MB / 1.283 GB, free: 5.578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.9431, allocations: 0.4957 MB / 1.283 GB, free: 4.988 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005086/0.9482, allocations: 1.851 MB / 1.285 GB, free: 3.117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.699e-06/0.9482, allocations: 0 / 1.285 GB, free: 3.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01533/0.9635, allocations: 4.466 MB / 1.289 GB, free: 14.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.9637, allocations: 205.9 kB / 1.289 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.965, allocations: 0.9413 MB / 1.29 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.9653, allocations: 65.7 kB / 1.29 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/0.9659, allocations: 0.7427 MB / 1.291 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006787/0.9665, allocations: 0.6814 MB / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/0.9673, allocations: 375.2 kB / 1.292 GB, free: 11.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.9674, allocations: 305.1 kB / 1.292 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/0.9718, allocations: 1.234 MB / 1.294 GB, free: 9.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/0.9764, allocations: 1.429 MB / 1.295 GB, free: 8.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008745/0.9852, allocations: 2.587 MB / 1.298 GB, free: 5.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.9852, allocations: 4 kB / 1.298 GB, free: 5.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01056/0.9958, allocations: 3.069 MB / 1.301 GB, free: 2.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9958, allocations: 8 kB / 1.301 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9958, allocations: 0 / 1.301 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.9964, allocations: 88.83 kB / 1.301 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/1, allocations: 0.589 MB / 1.301 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.002, allocations: 1.646 MB / 1.303 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/1.006, allocations: 354.1 kB / 1.303 GB, free: 16 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/1.006, allocations: 95.89 kB / 1.303 GB, free: 15.92 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.007, allocations: 431.7 kB / 1.304 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/1.008, allocations: 162 kB / 1.304 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.02, allocations: 3.712 MB / 1.307 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.02, allocations: 28.03 kB / 1.307 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.02, allocations: 7.938 kB / 1.307 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/1.02, allocations: 7.969 kB / 1.307 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/1.023, allocations: 2.444 MB / 1.31 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.023, allocations: 7.938 kB / 1.31 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/1.027, allocations: 0.5617 MB / 1.31 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/1.027, allocations: 68.8 kB / 1.31 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/1.027, allocations: 75.91 kB / 1.311 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.029, allocations: 1.666 MB / 1.312 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.029, allocations: 3.938 kB / 1.312 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.04, allocations: 3.207 MB / 1.315 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.041, allocations: 0.5529 MB / 1.316 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.041, allocations: 55.92 kB / 1.316 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.044, allocations: 263.7 kB / 1.316 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/1.045, allocations: 153.7 kB / 1.316 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.045, allocations: 91.91 kB / 1.316 GB, free: 2.168 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001026/1.046, allocations: 0.6997 MB / 1.317 GB, free: 1.461 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.046, allocations: 4 kB / 1.317 GB, free: 1.457 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001716/1.048, allocations: 0.6348 MB / 1.318 GB, free: 0.8203 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/1.06, allocations: 4.324 MB / 1.322 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.07, allocations: 3.135 MB / 1.325 GB, free: 9.496 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.07, allocations: 0 / 1.325 GB, free: 9.496 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005339/1.075, allocations: 1.759 MB / 1.327 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.077, allocations: 364.8 kB / 1.327 GB, free: 7.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/1.119, allocations: 16.01 MB / 1.343 GB, free: 7.172 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.12, allocations: 1.426 MB / 1.344 GB, free: 5.711 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002856/1.123, allocations: 0.5753 MB / 1.345 GB, free: 5.129 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.124, allocations: 0.8818 MB / 1.346 GB, free: 4.246 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.124, allocations: 3.938 kB / 1.346 GB, free: 4.242 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/1.194, allocations: 42.09 MB / 1.387 GB, free: 10.51 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.45, allocations: 15.31 kB / 1.387 GB, free: 10.5 MB / 1.123 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=18316800.000000 File[1]=18230400.000000 " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifRoo.H,HDifWal.H,weaBus.HDifHor,weaBus.HDirNor