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.00478/0.004781, allocations: 99.11 kB / 15.73 MB, free: 6.008 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.001141/0.001141, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.06/2.06, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7322, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006279/0.7385, allocations: 5.459 MB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.9117, allocations: 151.1 MB / 1.24 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.913, allocations: 19.28 kB / 1.24 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.9138, allocations: 219.7 kB / 1.241 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.9164, allocations: 0.687 MB / 1.241 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.919, allocations: 0.9789 MB / 1.242 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.9216, allocations: 1.902 MB / 1.244 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.9231, allocations: 1.084 MB / 1.245 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.9244, allocations: 0.806 MB / 1.246 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.9256, allocations: 0.873 MB / 1.247 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.9259, allocations: 204 kB / 1.247 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.9271, allocations: 0.566 MB / 1.247 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.9275, allocations: 490.4 kB / 1.248 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008485/0.9283, allocations: 0.8978 MB / 1.249 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.9314, allocations: 2.503 MB / 1.251 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9314, allocations: 0 / 1.251 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9314, allocations: 0 / 1.251 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.426e-05/0.9315, allocations: 4 kB / 1.251 GB, free: 5.969 MB / 0.9825 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.004122/0.9356, allocations: 2.075 MB / 1.253 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9356, allocations: 8.031 kB / 1.253 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.9359, allocations: 228 kB / 1.254 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.937, allocations: 271.6 kB / 1.254 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.9385, allocations: 1.005 MB / 1.255 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.9387, allocations: 115.1 kB / 1.255 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.9389, allocations: 144 kB / 1.255 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.9415, allocations: 1.596 MB / 1.257 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.9415, allocations: 0 / 1.257 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9417, allocations: 68 kB / 1.257 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.9417, allocations: 36 kB / 1.257 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.9444, allocations: 1.635 MB / 1.258 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.9512, allocations: 4.104 MB / 1.262 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.9533, allocations: 1.176 MB / 1.263 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.9542, allocations: 479.7 kB / 1.264 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.634e-05/0.9543, allocations: 49.06 kB / 1.264 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.9556, allocations: 0.7807 MB / 1.265 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.906e-06/0.9556, allocations: 0 / 1.265 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004363/0.96, allocations: 1.85 MB / 1.267 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.9601, allocations: 193.2 kB / 1.267 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9613, allocations: 0.8654 MB / 1.268 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.9615, allocations: 53.7 kB / 1.268 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.962, allocations: 0.6263 MB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.9623, allocations: 424.4 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.9627, allocations: 238.8 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9628, allocations: 353.9 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.9636, allocations: 426.4 kB / 1.27 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009211/0.9645, allocations: 0.5526 MB / 1.27 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.9663, allocations: 0.9584 MB / 1.271 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.9663, allocations: 0 / 1.271 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002856/0.9692, allocations: 1.298 MB / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9692, allocations: 4 kB / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9693, allocations: 7.984 kB / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.9699, allocations: 80.78 kB / 1.272 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.9709, allocations: 255.6 kB / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.973, allocations: 1.654 MB / 1.274 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.9742, allocations: 147.2 kB / 1.274 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9743, allocations: 51.95 kB / 1.274 GB, free: 13.62 MB / 1.014 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.0006598/0.975, allocations: 344.3 kB / 1.275 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.9753, allocations: 131.1 kB / 1.275 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.9788, allocations: 1.706 MB / 1.277 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9789, allocations: 12 kB / 1.277 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9789, allocations: 4 kB / 1.277 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.9789, allocations: 7.969 kB / 1.277 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.9808, allocations: 1.416 MB / 1.278 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.9808, allocations: 0 / 1.278 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/0.9817, allocations: 211.7 kB / 1.278 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.9822, allocations: 76.78 kB / 1.278 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.9823, allocations: 39.97 kB / 1.278 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.9843, allocations: 1.685 MB / 1.28 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9843, allocations: 0 / 1.28 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.9873, allocations: 1.407 MB / 1.281 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.988, allocations: 379.8 kB / 1.282 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.9883, allocations: 35.94 kB / 1.282 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.9893, allocations: 91.86 kB / 1.282 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.9895, allocations: 109.1 kB / 1.282 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.9897, allocations: 55.97 kB / 1.282 GB, free: 5.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001029/0.9907, allocations: 0.6464 MB / 1.283 GB, free: 5.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9907, allocations: 0 / 1.283 GB, free: 5.023 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001208/0.9919, allocations: 470.6 kB / 1.283 GB, free: 4.562 MB / 1.014 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.004651/0.9966, allocations: 2.502 MB / 1.285 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.9991, allocations: 1.236 MB / 1.287 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9992, allocations: 0 / 1.287 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1, allocations: 0.7439 MB / 1.287 GB, free: 216 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.002, allocations: 325.5 kB / 1.288 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.02, allocations: 9.43 MB / 1.297 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.021, allocations: 1.236 MB / 1.298 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00119/1.022, allocations: 325.9 kB / 1.298 GB, free: 4.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009793/1.023, allocations: 0.632 MB / 1.299 GB, free: 4.098 MB / 1.029 GB Notification: Performance of SimCode: time 9.61e-07/1.023, allocations: 0 / 1.299 GB, free: 4.098 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06706/1.09, allocations: 30.19 MB / 1.329 GB, free: 6.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.55, allocations: 18.91 kB / 1.329 GB, free: 6.219 MB / 1.061 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