Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001274/0.001274, 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.001232/0.001232, allocations: 194.7 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.061/2.061, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 59.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4916, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004991/0.4966, allocations: 5.446 MB / 0.955 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.6341, allocations: 151.1 MB / 1.103 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/0.6351, allocations: 23.88 kB / 1.103 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.6358, allocations: 209.9 kB / 1.103 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.6379, allocations: 0.6733 MB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.6399, allocations: 0.9818 MB / 1.104 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.6417, allocations: 1.889 MB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6429, allocations: 1.076 MB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008881/0.6438, allocations: 0.7862 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.6447, allocations: 0.8763 MB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.645, allocations: 208 kB / 1.109 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.6458, allocations: 0.5309 MB / 1.11 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.6461, allocations: 494.4 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.6468, allocations: 0.9017 MB / 1.111 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.6487, allocations: 2.434 MB / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6487, allocations: 0 / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6487, allocations: 0 / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.6487, allocations: 0 / 1.113 GB, free: 9.539 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003258/0.652, allocations: 2.027 MB / 1.115 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.652, allocations: 12.03 kB / 1.115 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.6522, allocations: 224 kB / 1.116 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.6531, allocations: 258.6 kB / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6543, allocations: 0.973 MB / 1.117 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.6544, allocations: 115.1 kB / 1.117 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.6545, allocations: 152 kB / 1.117 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.6568, allocations: 1.584 MB / 1.119 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.6568, allocations: 4 kB / 1.119 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.657, allocations: 64 kB / 1.119 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.657, allocations: 36 kB / 1.119 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.6594, allocations: 1.631 MB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.6649, allocations: 4.154 MB / 1.124 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.6669, allocations: 1.181 MB / 1.126 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.6676, allocations: 475.7 kB / 1.126 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.799e-05/0.6677, allocations: 56.86 kB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.6689, allocations: 0.7818 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.295e-06/0.6689, allocations: 0 / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.003885/0.6728, allocations: 1.838 MB / 1.129 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.6729, allocations: 193.2 kB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.6738, allocations: 0.8653 MB / 1.13 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.6739, allocations: 57.7 kB / 1.13 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6743, allocations: 0.6132 MB / 1.13 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.6746, allocations: 406.2 kB / 1.131 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.6749, allocations: 238.7 kB / 1.131 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.675, allocations: 353.9 kB / 1.131 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.6758, allocations: 422.5 kB / 1.132 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/0.6766, allocations: 0.5642 MB / 1.132 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6782, allocations: 0.9584 MB / 1.133 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6782, allocations: 4 kB / 1.133 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002453/0.6807, allocations: 1.281 MB / 1.134 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6807, allocations: 8 kB / 1.134 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6807, allocations: 0 / 1.134 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.6813, allocations: 84.83 kB / 1.134 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6823, allocations: 255.6 kB / 1.135 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.6842, allocations: 1.642 MB / 1.136 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.6851, allocations: 142.8 kB / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.6852, allocations: 59.94 kB / 1.136 GB, free: 1.281 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.000442/0.6856, allocations: 344.2 kB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.6858, allocations: 118.5 kB / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.6891, allocations: 1.713 MB / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6891, allocations: 16 kB / 1.139 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6892, allocations: 0 / 1.139 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.6892, allocations: 11.97 kB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.6905, allocations: 1.417 MB / 1.14 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6905, allocations: 0 / 1.14 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.6914, allocations: 215.7 kB / 1.14 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.6918, allocations: 80.7 kB / 1.14 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.6919, allocations: 39.97 kB / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.6936, allocations: 1.678 MB / 1.142 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6936, allocations: 3.938 kB / 1.142 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.6961, allocations: 1.402 MB / 1.143 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.6965, allocations: 375 kB / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.6967, allocations: 39.89 kB / 1.144 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.6975, allocations: 89.86 kB / 1.144 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.6977, allocations: 113.1 kB / 1.144 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/0.6978, allocations: 51.97 kB / 1.144 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007144/0.6985, allocations: 0.6464 MB / 1.145 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.342e-06/0.6985, allocations: 0 / 1.145 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008279/0.6994, allocations: 462.6 kB / 1.145 GB, free: 8.238 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003796/0.7032, allocations: 2.474 MB / 1.147 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003451/0.7066, allocations: 1.56 MB / 1.149 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7066, allocations: 0 / 1.149 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.7078, allocations: 0.7401 MB / 1.15 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.7089, allocations: 328.9 kB / 1.15 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.7227, allocations: 9.973 MB / 1.16 GB, free: 8.977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.7234, allocations: 1.232 MB / 1.161 GB, free: 7.711 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.7243, allocations: 325.9 kB / 1.161 GB, free: 7.391 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/0.7251, allocations: 0.6281 MB / 1.162 GB, free: 6.762 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.7251, allocations: 4 kB / 1.162 GB, free: 6.758 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.7763, allocations: 29.82 MB / 1.191 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.26, allocations: 2.656 kB / 1.191 GB, free: 9.289 MB / 0.9512 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches