Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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.004535/0.004535, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001106/0.001106, allocations: 197 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.79/2.79, allocations: 469.4 MB / 0.7422 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2531, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009508/0.2627, allocations: 8.421 MB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6719/0.9345, allocations: 151.8 MB / 1.376 GB, free: 8.055 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009254/0.9355, allocations: 23.47 kB / 1.376 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.9363, allocations: 328.4 kB / 1.377 GB, free: 7.828 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.9384, allocations: 0.8623 MB / 1.377 GB, free: 7.285 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.9409, allocations: 1.381 MB / 1.379 GB, free: 6.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002747/0.9437, allocations: 3.013 MB / 1.382 GB, free: 4.867 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.9455, allocations: 1.484 MB / 1.383 GB, free: 3.969 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.9469, allocations: 1.203 MB / 1.384 GB, free: 3.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.9484, allocations: 1.343 MB / 1.386 GB, free: 2.254 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003935/0.9488, allocations: 325.2 kB / 1.386 GB, free: 2.254 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.95, allocations: 0.7033 MB / 1.387 GB, free: 2.059 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.9506, allocations: 0.6954 MB / 1.387 GB, free: 1.465 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.9518, allocations: 1.338 MB / 1.389 GB, free: 472 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.9555, allocations: 3.687 MB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9555, allocations: 3.75 kB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9555, allocations: 4.906 kB / 1.392 GB, free: 13.67 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.194e-05/0.9555, allocations: 0 / 1.392 GB, free: 13.67 MB / 1.092 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.006243/0.9618, allocations: 2.899 MB / 1.395 GB, free: 11.58 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9618, allocations: 10 kB / 1.395 GB, free: 11.58 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003836/0.9622, allocations: 314.8 kB / 1.395 GB, free: 11.33 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.9789, allocations: 2.124 MB / 1.397 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.9815, allocations: 1.301 MB / 1.399 GB, free: 9.297 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.9817, allocations: 169 kB / 1.399 GB, free: 9.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/0.9821, allocations: 218.1 kB / 1.399 GB, free: 9.148 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008874/0.991, allocations: 3.278 MB / 1.402 GB, free: 7.176 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.991, allocations: 0 / 1.402 GB, free: 7.176 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.9913, allocations: 95.25 kB / 1.402 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.9914, allocations: 59.28 kB / 1.402 GB, free: 7.098 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.004, allocations: 4.2 MB / 1.407 GB, free: 5.07 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/1.02, allocations: 8.052 MB / 1.414 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009464/1.029, allocations: 2.876 MB / 1.417 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/1.034, allocations: 1.489 MB / 1.419 GB, free: 9.773 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/1.035, allocations: 0.5074 MB / 1.419 GB, free: 9.176 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005193/1.04, allocations: 1.853 MB / 1.421 GB, free: 7.305 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 4.128e-06/1.04, allocations: 0 / 1.421 GB, free: 7.305 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.01575/1.056, allocations: 4.474 MB / 1.425 GB, free: 2.805 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.056, allocations: 205.9 kB / 1.426 GB, free: 2.559 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.057, allocations: 0.9452 MB / 1.426 GB, free: 1.594 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.057, allocations: 65.7 kB / 1.426 GB, free: 1.523 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005601/1.058, allocations: 0.7562 MB / 1.427 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/1.059, allocations: 0.7165 MB / 1.428 GB, free: 36 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007458/1.059, allocations: 383.3 kB / 1.428 GB, free: 15.66 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/1.059, allocations: 301.1 kB / 1.429 GB, free: 15.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.064, allocations: 1.241 MB / 1.43 GB, free: 14.12 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/1.069, allocations: 1.429 MB / 1.431 GB, free: 12.65 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008964/1.077, allocations: 2.587 MB / 1.434 GB, free: 10.05 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.078, allocations: 3.656 kB / 1.434 GB, free: 10.05 MB / 1.123 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01064/1.088, allocations: 3.09 MB / 1.437 GB, free: 6.945 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.088, allocations: 9.562 kB / 1.437 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.088, allocations: 0 / 1.437 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/1.089, allocations: 88.83 kB / 1.437 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/1.093, allocations: 0.593 MB / 1.437 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.095, allocations: 1.638 MB / 1.439 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.098, allocations: 367.2 kB / 1.439 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.099, allocations: 91.91 kB / 1.439 GB, free: 4.023 MB / 1.123 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.0009961/1.1, allocations: 448.2 kB / 1.44 GB, free: 3.578 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.1, allocations: 163 kB / 1.44 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.112, allocations: 3.712 MB / 1.444 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.112, allocations: 24 kB / 1.444 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.112, allocations: 0 / 1.444 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/1.112, allocations: 11.95 kB / 1.444 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/1.115, allocations: 2.467 MB / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.115, allocations: 0 / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/1.119, allocations: 0.5656 MB / 1.447 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/1.119, allocations: 76.72 kB / 1.447 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/1.119, allocations: 75.91 kB / 1.447 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.121, allocations: 1.662 MB / 1.448 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.121, allocations: 0 / 1.448 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.131, allocations: 3.223 MB / 1.452 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/1.132, allocations: 0.5577 MB / 1.452 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.133, allocations: 59.81 kB / 1.452 GB, free: 6.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.136, allocations: 267.7 kB / 1.452 GB, free: 6.473 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.136, allocations: 149.8 kB / 1.453 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.136, allocations: 91.91 kB / 1.453 GB, free: 6.238 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009204/1.137, allocations: 0.7036 MB / 1.453 GB, free: 5.527 MB / 1.139 GB Notification: Performance of sort global known variables: time 2e-07/1.137, allocations: 0 / 1.453 GB, free: 5.527 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001659/1.139, allocations: 0.678 MB / 1.454 GB, free: 4.848 MB / 1.139 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.01176/1.151, allocations: 4.338 MB / 1.458 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009821/1.16, allocations: 3.143 MB / 1.461 GB, free: 13.51 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.16, allocations: 4 kB / 1.461 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005056/1.165, allocations: 1.751 MB / 1.463 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.167, allocations: 405 kB / 1.463 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/1.206, allocations: 15.9 MB / 1.479 GB, free: 11.26 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/1.207, allocations: 1.426 MB / 1.48 GB, free: 9.793 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002695/1.209, allocations: 0.5834 MB / 1.481 GB, free: 9.203 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.211, allocations: 0.8818 MB / 1.482 GB, free: 8.32 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.211, allocations: 0 / 1.482 GB, free: 8.32 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/1.284, allocations: 42.82 MB / 1.524 GB, free: 13.87 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.23, allocations: 8.5 kB / 1.524 GB, free: 13.86 MB / 1.217 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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