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.007542/0.007542, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.00108/0.00108, allocations: 196 kB / 16.67 MB, free: 6.352 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.197/2.197, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 63 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2543, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007426/0.2617, allocations: 6.46 MB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.4036, allocations: 151.6 MB / 1.242 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.4045, allocations: 23.88 kB / 1.242 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.4052, allocations: 261.3 kB / 1.242 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.4071, allocations: 0.6975 MB / 1.243 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.4094, allocations: 1.364 MB / 1.244 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.4115, allocations: 2.676 MB / 1.247 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.4131, allocations: 1.596 MB / 1.248 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.4143, allocations: 1.152 MB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.4154, allocations: 1.292 MB / 1.251 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.4158, allocations: 324 kB / 1.251 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009744/0.4168, allocations: 0.7027 MB / 1.252 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.4173, allocations: 0.6971 MB / 1.252 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.4182, allocations: 1.271 MB / 1.254 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.4211, allocations: 3.577 MB / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4211, allocations: 0 / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4211, allocations: 0 / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.4212, allocations: 0 / 1.257 GB, free: 3.562 MB / 1.014 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.005292/0.4265, allocations: 2.854 MB / 1.26 GB, free: 0.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4265, allocations: 8.031 kB / 1.26 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/0.4268, allocations: 316.9 kB / 1.26 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5645/0.9913, allocations: 2.119 MB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.9943, allocations: 1.299 MB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.9944, allocations: 166.9 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.9949, allocations: 216.3 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/1.004, allocations: 3.281 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/1.004, allocations: 4.5 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/1.004, allocations: 93.42 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/1.004, allocations: 58.25 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/1.018, allocations: 4.202 MB / 1.271 GB, free: 170.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/1.034, allocations: 7.248 MB / 1.278 GB, free: 166.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008605/1.042, allocations: 2.885 MB / 1.281 GB, free: 165.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/1.046, allocations: 1.488 MB / 1.283 GB, free: 165.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/1.047, allocations: 0.5074 MB / 1.283 GB, free: 164.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004678/1.052, allocations: 1.849 MB / 1.285 GB, free: 164.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.586e-06/1.052, allocations: 1.406 kB / 1.285 GB, free: 164.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01373/1.065, allocations: 4.465 MB / 1.289 GB, free: 162 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.066, allocations: 207.1 kB / 1.29 GB, free: 161.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.067, allocations: 0.9451 MB / 1.29 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/1.067, allocations: 68.02 kB / 1.291 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/1.067, allocations: 0.7635 MB / 1.291 GB, free: 160.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/1.068, allocations: 0.7166 MB / 1.292 GB, free: 160 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/1.069, allocations: 373 kB / 1.292 GB, free: 159.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.526e-05/1.069, allocations: 305.1 kB / 1.293 GB, free: 159.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/1.073, allocations: 1.237 MB / 1.294 GB, free: 158.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/1.077, allocations: 1.43 MB / 1.295 GB, free: 158.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/1.085, allocations: 2.584 MB / 1.298 GB, free: 156.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.085, allocations: 0 / 1.298 GB, free: 156.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009541/1.094, allocations: 3.074 MB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.094, allocations: 6.656 kB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.094, allocations: 1.062 kB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/1.095, allocations: 93.36 kB / 1.301 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/1.098, allocations: 0.591 MB / 1.301 GB, free: 155 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/1.1, allocations: 1.642 MB / 1.303 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/1.103, allocations: 370.5 kB / 1.303 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.103, allocations: 91.14 kB / 1.303 GB, free: 153.1 MB / 1.014 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.0009796/1.104, allocations: 433.5 kB / 1.304 GB, free: 152.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/1.105, allocations: 170.8 kB / 1.304 GB, free: 152.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.115, allocations: 3.709 MB / 1.308 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.115, allocations: 22.94 kB / 1.308 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.115, allocations: 0 / 1.308 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.115, allocations: 17.73 kB / 1.308 GB, free: 150.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.117, allocations: 2.465 MB / 1.31 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.117, allocations: 4 kB / 1.31 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.121, allocations: 0.5616 MB / 1.311 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/1.121, allocations: 76.78 kB / 1.311 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.121, allocations: 71.91 kB / 1.311 GB, free: 148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.123, allocations: 1.669 MB / 1.312 GB, free: 146.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.123, allocations: 0 / 1.312 GB, free: 146.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008648/1.131, allocations: 3.219 MB / 1.316 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/1.132, allocations: 0.5538 MB / 1.316 GB, free: 142.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/1.133, allocations: 51.89 kB / 1.316 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.135, allocations: 271.7 kB / 1.316 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.136, allocations: 153.8 kB / 1.317 GB, free: 141.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/1.136, allocations: 91.91 kB / 1.317 GB, free: 141.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007611/1.137, allocations: 0.698 MB / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.137, allocations: 0 / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001432/1.138, allocations: 0.6467 MB / 1.318 GB, free: 140.5 MB / 1.014 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.009919/1.148, allocations: 4.343 MB / 1.322 GB, free: 136.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008277/1.156, allocations: 3.131 MB / 1.325 GB, free: 133.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.156, allocations: 256 / 1.325 GB, free: 133.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004252/1.161, allocations: 1.758 MB / 1.327 GB, free: 131.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.162, allocations: 369.2 kB / 1.327 GB, free: 131.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03299/1.195, allocations: 16.09 MB / 1.343 GB, free: 114.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/1.196, allocations: 1.427 MB / 1.344 GB, free: 113.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002384/1.198, allocations: 0.5714 MB / 1.345 GB, free: 112.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.2, allocations: 0.8818 MB / 1.346 GB, free: 111.9 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.2, allocations: 0 / 1.346 GB, free: 111.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/1.261, allocations: 42.08 MB / 1.387 GB, free: 70.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.57, allocations: 13.38 kB / 1.387 GB, free: 70 MB / 1.014 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