Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.005533/0.005533, allocations: 101.2 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.001503/0.001503, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006941/0.2895, allocations: 4.844 MB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6737/0.9632, allocations: 150.6 MB / 1.393 GB, free: 1.992 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.9639, allocations: 23.31 kB / 1.393 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.9644, allocations: 185 kB / 1.393 GB, free: 1.82 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.966, allocations: 0.544 MB / 1.394 GB, free: 1.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.9677, allocations: 0.8336 MB / 1.395 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.9691, allocations: 1.372 MB / 1.396 GB, free: 15.96 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008178/0.9699, allocations: 0.5766 MB / 1.397 GB, free: 15.61 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.9705, allocations: 481.5 kB / 1.397 GB, free: 15.32 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.9711, allocations: 0.5067 MB / 1.398 GB, free: 14.96 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.9712, allocations: 116 kB / 1.398 GB, free: 14.96 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.972, allocations: 474.1 kB / 1.398 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.9723, allocations: 296.7 kB / 1.398 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.9728, allocations: 0.5634 MB / 1.399 GB, free: 14.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.9746, allocations: 1.629 MB / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.9747, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9747, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.9747, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002526/0.9772, allocations: 1.464 MB / 1.402 GB, free: 11.81 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.9773, allocations: 9.812 kB / 1.402 GB, free: 11.81 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.9774, allocations: 136.4 kB / 1.402 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.9783, allocations: 188.8 kB / 1.402 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.9795, allocations: 0.7725 MB / 1.403 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.9796, allocations: 60.38 kB / 1.403 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.9797, allocations: 81.59 kB / 1.403 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.9813, allocations: 0.9111 MB / 1.404 GB, free: 10.33 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9813, allocations: 3.938 kB / 1.404 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.9814, allocations: 37.34 kB / 1.404 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.9815, allocations: 19.66 kB / 1.404 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.9833, allocations: 1.109 MB / 1.405 GB, free: 9.766 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.9874, allocations: 2.729 MB / 1.408 GB, free: 7.551 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.989, allocations: 0.8022 MB / 1.409 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.9895, allocations: 303.7 kB / 1.409 GB, free: 6.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.9896, allocations: 39.02 kB / 1.409 GB, free: 6.969 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008705/0.9905, allocations: 487.5 kB / 1.41 GB, free: 6.66 MB / 1.107 GB Notification: Performance of pre-optimization done (n=80): time 2.114e-06/0.9905, allocations: 0 / 1.41 GB, free: 6.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=80): time 0.003294/0.9938, allocations: 1.199 MB / 1.411 GB, free: 6.012 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.9939, allocations: 196.9 kB / 1.411 GB, free: 5.785 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.9947, allocations: 0.6258 MB / 1.412 GB, free: 5.426 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.9948, allocations: 42.27 kB / 1.412 GB, free: 5.383 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.9952, allocations: 397.7 kB / 1.412 GB, free: 5.035 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.9954, allocations: 273.5 kB / 1.412 GB, free: 4.797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.9957, allocations: 144.6 kB / 1.412 GB, free: 4.711 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.9959, allocations: 393.2 kB / 1.413 GB, free: 4.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.9964, allocations: 248.9 kB / 1.413 GB, free: 4.211 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.997, allocations: 363.1 kB / 1.413 GB, free: 3.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.9982, allocations: 0.5878 MB / 1.414 GB, free: 3.66 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9982, allocations: 3.938 kB / 1.414 GB, free: 3.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001932/1, allocations: 0.8006 MB / 1.415 GB, free: 3.246 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1, allocations: 5.188 kB / 1.415 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1, allocations: 1.156 kB / 1.415 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/1.001, allocations: 84.45 kB / 1.415 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/1.001, allocations: 152.3 kB / 1.415 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.004, allocations: 1.633 MB / 1.416 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/1.004, allocations: 94.31 kB / 1.417 GB, free: 1.496 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/1.004, allocations: 32.52 kB / 1.417 GB, free: 1.484 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003776/1.005, allocations: 265.8 kB / 1.417 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.005, allocations: 86.84 kB / 1.417 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/1.007, allocations: 1.06 MB / 1.418 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.007, allocations: 9 kB / 1.418 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.007, allocations: 0.9688 kB / 1.418 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.007, allocations: 7.922 kB / 1.418 GB, free: 0.625 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.008, allocations: 0.8952 MB / 1.419 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.008, allocations: 0 / 1.419 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/1.009, allocations: 141.7 kB / 1.419 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/1.009, allocations: 74.5 kB / 1.419 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/1.01, allocations: 25.17 kB / 1.419 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.012, allocations: 1.664 MB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.012, allocations: 64 / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.014, allocations: 0.9306 MB / 1.422 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.014, allocations: 273 kB / 1.422 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.014, allocations: 20.81 kB / 1.422 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/1.015, allocations: 67.27 kB / 1.422 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.015, allocations: 65.25 kB / 1.422 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/1.015, allocations: 45.56 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005478/1.015, allocations: 461 kB / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.015, allocations: 0 / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007659/1.016, allocations: 319.9 kB / 1.423 GB, free: 13.03 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004218/1.02, allocations: 1.981 MB / 1.425 GB, free: 11.28 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001735/1.022, allocations: 0.8085 MB / 1.426 GB, free: 10.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.022, allocations: 0 / 1.426 GB, free: 10.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009994/1.023, allocations: 0.5082 MB / 1.426 GB, free: 9.938 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.024, allocations: 307.8 kB / 1.426 GB, free: 9.66 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.035, allocations: 6.158 MB / 1.432 GB, free: 3.391 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/1.036, allocations: 1.02 MB / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007859/1.037, allocations: 262.6 kB / 1.434 GB, free: 2.078 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.037, allocations: 379.3 kB / 1.434 GB, free: 1.707 MB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/1.037, allocations: 0 / 1.434 GB, free: 1.707 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/1.093, allocations: 21.5 MB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.86, allocations: 12.2 kB / 1.455 GB, free: 12.56 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches