Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 194 kB / 16.53 MB, free: 6.391 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437.1 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4966, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005637/0.5022, allocations: 4.851 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.64, allocations: 150.6 MB / 1.169 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006999/0.6407, allocations: 11.94 kB / 1.169 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.6413, allocations: 194.2 kB / 1.169 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.6431, allocations: 0.5448 MB / 1.17 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.6449, allocations: 0.829 MB / 1.171 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.6463, allocations: 1.366 MB / 1.172 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.6471, allocations: 0.5765 MB / 1.173 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.6477, allocations: 486.3 kB / 1.173 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.6483, allocations: 0.5034 MB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.6485, allocations: 120 kB / 1.174 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.6492, allocations: 451.6 kB / 1.174 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.6494, allocations: 299 kB / 1.174 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.6499, allocations: 0.5558 MB / 1.175 GB, free: 488 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.6512, allocations: 1.581 MB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6512, allocations: 4 kB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6513, allocations: 0 / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.6513, allocations: 0 / 1.177 GB, free: 14.89 MB / 0.9356 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.002134/0.6534, allocations: 1.422 MB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.6535, allocations: 12.03 kB / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.6536, allocations: 135.4 kB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.6544, allocations: 183.4 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.6553, allocations: 0.7381 MB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.6554, allocations: 66 kB / 1.179 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.6555, allocations: 83.98 kB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.6568, allocations: 0.9067 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6569, allocations: 7.938 kB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.657, allocations: 36 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.657, allocations: 20 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.6586, allocations: 1.1 MB / 1.181 GB, free: 10.04 MB / 0.9356 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.003451/0.662, allocations: 2.697 MB / 1.184 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.6634, allocations: 0.8058 MB / 1.185 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.6639, allocations: 298.7 kB / 1.185 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.664, allocations: 32.59 kB / 1.185 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008059/0.6648, allocations: 491.2 kB / 1.185 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.284e-06/0.6648, allocations: 0 / 1.185 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.002949/0.6677, allocations: 1.201 MB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.6678, allocations: 188.6 kB / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.6685, allocations: 0.6293 MB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.6686, allocations: 45.7 kB / 1.187 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.6688, allocations: 392.3 kB / 1.188 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.669, allocations: 256.3 kB / 1.188 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.6692, allocations: 150.5 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6694, allocations: 386.7 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.6699, allocations: 245.9 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.6704, allocations: 370.4 kB / 1.189 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.6714, allocations: 0.5838 MB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6715, allocations: 0 / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001708/0.6732, allocations: 0.7981 MB / 1.19 GB, free: 232 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6732, allocations: 4 kB / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6732, allocations: 7.969 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.6738, allocations: 88.77 kB / 1.19 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.6744, allocations: 151.7 kB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.6763, allocations: 1.632 MB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.6769, allocations: 91.39 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.677, allocations: 31.98 kB / 1.192 GB, free: 14.07 MB / 0.9512 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.0003142/0.6773, allocations: 265.8 kB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6775, allocations: 86.91 kB / 1.193 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6796, allocations: 1.062 MB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6797, allocations: 8 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6797, allocations: 3.938 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6797, allocations: 3.984 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.6806, allocations: 0.8918 MB / 1.195 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6806, allocations: 8 kB / 1.195 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.6811, allocations: 139.8 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.6816, allocations: 76.72 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.6816, allocations: 23.98 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.6833, allocations: 1.666 MB / 1.196 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6833, allocations: 0 / 1.196 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.6851, allocations: 0.924 MB / 1.197 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.6854, allocations: 267.7 kB / 1.198 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6855, allocations: 19.98 kB / 1.198 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.6861, allocations: 68 kB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.6863, allocations: 72.84 kB / 1.198 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.6863, allocations: 35.97 kB / 1.198 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004849/0.6868, allocations: 463 kB / 1.198 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6868, allocations: 0 / 1.198 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007066/0.6876, allocations: 315.2 kB / 1.199 GB, free: 7.449 MB / 0.9512 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.003146/0.6907, allocations: 1.988 MB / 1.201 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.6929, allocations: 0.999 MB / 1.201 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6929, allocations: 8.188 kB / 1.201 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.6938, allocations: 0.5042 MB / 1.202 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6948, allocations: 294.6 kB / 1.202 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/0.704, allocations: 6.353 MB / 1.208 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.7046, allocations: 1.033 MB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007538/0.7054, allocations: 262.6 kB / 1.21 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.7058, allocations: 371.3 kB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.7059, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.7504, allocations: 21.27 MB / 1.231 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11, allocations: 4.375 kB / 1.231 GB, free: 6.793 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches