Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 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.001135/0.001135, allocations: 197 kB / 16.53 MB, free: 6.664 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.169/1.169, 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 9.1.3-maint.9.1.x/package.mo): time 2.062/2.062, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.472, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004588/0.4766, allocations: 4.338 MB / 0.954 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1292/0.6059, allocations: 150.5 MB / 1.101 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.6066, allocations: 15.94 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.6071, allocations: 174.4 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6086, allocations: 0.4927 MB / 1.102 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.6103, allocations: 0.8302 MB / 1.102 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.6115, allocations: 1.289 MB / 1.104 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.6122, allocations: 0.614 MB / 1.104 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.6127, allocations: 466.3 kB / 1.105 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.6132, allocations: 495.2 kB / 1.105 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.6134, allocations: 116 kB / 1.105 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.6141, allocations: 463.6 kB / 1.106 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.6143, allocations: 291.1 kB / 1.106 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.6147, allocations: 0.5362 MB / 1.107 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.6161, allocations: 1.558 MB / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6161, allocations: 0 / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6162, allocations: 0 / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.6162, allocations: 3.984 kB / 1.108 GB, free: 15.1 MB / 0.8731 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.002205/0.6184, allocations: 1.418 MB / 1.109 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6184, allocations: 8.031 kB / 1.11 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.6186, allocations: 135.4 kB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.6194, allocations: 183.4 kB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.6203, allocations: 0.7381 MB / 1.111 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.6204, allocations: 69.98 kB / 1.111 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.6204, allocations: 76 kB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6218, allocations: 0.9106 MB / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6218, allocations: 7.938 kB / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.6219, allocations: 43.92 kB / 1.112 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6219, allocations: 20 kB / 1.112 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6234, allocations: 1.1 MB / 1.113 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.6267, allocations: 2.488 MB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.628, allocations: 0.7901 MB / 1.116 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.6285, allocations: 302.6 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.6285, allocations: 28.69 kB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007888/0.6293, allocations: 496.1 kB / 1.117 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.305e-06/0.6294, allocations: 0 / 1.117 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.00287/0.6322, allocations: 1.186 MB / 1.118 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.6323, allocations: 188.6 kB / 1.118 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.633, allocations: 0.6254 MB / 1.119 GB, free: 4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.633, allocations: 45.7 kB / 1.119 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.6333, allocations: 400.3 kB / 1.119 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.6335, allocations: 256.3 kB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.6337, allocations: 150.5 kB / 1.119 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6338, allocations: 390.7 kB / 1.12 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.6343, allocations: 245.9 kB / 1.12 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.6348, allocations: 358.5 kB / 1.12 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/0.6358, allocations: 0.5721 MB / 1.121 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6358, allocations: 4 kB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001687/0.6375, allocations: 0.798 MB / 1.122 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.6375, allocations: 8.094 kB / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6375, allocations: 0 / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.6381, allocations: 88.66 kB / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.6387, allocations: 151.8 kB / 1.122 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.6405, allocations: 1.627 MB / 1.124 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.641, allocations: 87.33 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.6411, allocations: 27.97 kB / 1.124 GB, free: 14.6 MB / 0.8887 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.000294/0.6414, allocations: 273.6 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.6415, allocations: 82.97 kB / 1.124 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.6437, allocations: 1.065 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.6437, allocations: 12 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6437, allocations: 3.938 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6437, allocations: 3.984 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/0.6445, allocations: 0.8879 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6445, allocations: 0 / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.6451, allocations: 147.7 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.6455, allocations: 76.72 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.6456, allocations: 23.98 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.6472, allocations: 1.666 MB / 1.128 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6472, allocations: 0 / 1.128 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.6489, allocations: 0.9279 MB / 1.129 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.6492, allocations: 271.7 kB / 1.129 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.6493, allocations: 16 kB / 1.129 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.6499, allocations: 65.66 kB / 1.129 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.65, allocations: 72.83 kB / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.6501, allocations: 35.98 kB / 1.129 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000458/0.6505, allocations: 459 kB / 1.13 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.6505, allocations: 0 / 1.13 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006093/0.6511, allocations: 307.2 kB / 1.13 GB, free: 7.984 MB / 0.8887 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.002958/0.6541, allocations: 1.972 MB / 1.132 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.6561, allocations: 0.9991 MB / 1.133 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6561, allocations: 0 / 1.133 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.6569, allocations: 0.516 MB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.6579, allocations: 296.4 kB / 1.134 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/0.6671, allocations: 6.439 MB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.6676, allocations: 1.023 MB / 1.141 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006984/0.6683, allocations: 262.6 kB / 1.141 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.6688, allocations: 375.3 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6688, allocations: 0 / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.7107, allocations: 20.85 MB / 1.162 GB, free: 7.641 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.76, allocations: 8.281 kB / 1.162 GB, free: 7.633 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches