Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.006735/0.006735, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001682/0.001682, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.144/2.144, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 61.44 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2389, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005509/0.2445, allocations: 4.471 MB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.3846, allocations: 150.7 MB / 1.239 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.3855, allocations: 19.88 kB / 1.239 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.3862, allocations: 174.3 kB / 1.239 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.3881, allocations: 0.5427 MB / 1.24 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.3902, allocations: 0.8331 MB / 1.241 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3917, allocations: 1.375 MB / 1.242 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000887/0.3926, allocations: 0.6219 MB / 1.243 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.3933, allocations: 0.506 MB / 1.243 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.3939, allocations: 0.5134 MB / 1.244 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.3941, allocations: 124 kB / 1.244 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008391/0.395, allocations: 483.6 kB / 1.244 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.3953, allocations: 315 kB / 1.244 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.3959, allocations: 0.5712 MB / 1.245 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.3976, allocations: 1.652 MB / 1.247 GB, free: 14.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3976, allocations: 4 kB / 1.247 GB, free: 14.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3977, allocations: 0 / 1.247 GB, free: 14.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.059e-05/0.3977, allocations: 0 / 1.247 GB, free: 14.43 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002749/0.4004, allocations: 1.476 MB / 1.248 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4005, allocations: 8.031 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.4007, allocations: 139.7 kB / 1.248 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.4016, allocations: 195.3 kB / 1.248 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4028, allocations: 0.7817 MB / 1.249 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.4028, allocations: 73.92 kB / 1.249 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.403, allocations: 84 kB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.4045, allocations: 0.9613 MB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4045, allocations: 0 / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.4046, allocations: 36 kB / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.4046, allocations: 27.98 kB / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.4064, allocations: 1.159 MB / 1.251 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.4103, allocations: 2.656 MB / 1.254 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.4118, allocations: 0.8407 MB / 1.255 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.4124, allocations: 322.7 kB / 1.255 GB, free: 5.473 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.4125, allocations: 32.67 kB / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.4133, allocations: 0.5353 MB / 1.256 GB, free: 4.883 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/0.4133, allocations: 0 / 1.256 GB, free: 4.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003122/0.4165, allocations: 1.286 MB / 1.257 GB, free: 3.574 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.4166, allocations: 192.9 kB / 1.257 GB, free: 3.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.4173, allocations: 0.6528 MB / 1.258 GB, free: 2.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.4174, allocations: 45.7 kB / 1.258 GB, free: 2.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4177, allocations: 412.3 kB / 1.258 GB, free: 2.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.4179, allocations: 280 kB / 1.258 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4181, allocations: 162.5 kB / 1.259 GB, free: 1.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4183, allocations: 394.8 kB / 1.259 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.4188, allocations: 265.8 kB / 1.259 GB, free: 1.129 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.4194, allocations: 382.5 kB / 1.26 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.4206, allocations: 0.6398 MB / 1.26 GB, free: 76 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4206, allocations: 0 / 1.26 GB, free: 76 kB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.429/0.8496, allocations: 0.8728 MB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8497, allocations: 5.25 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8497, allocations: 1.359 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.8503, allocations: 84.34 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.851, allocations: 167.3 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.8527, allocations: 1.625 MB / 1.263 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.8534, allocations: 98.31 kB / 1.263 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.8534, allocations: 35.52 kB / 1.263 GB, free: 172.7 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003921/0.8538, allocations: 277.3 kB / 1.263 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.854, allocations: 90.38 kB / 1.263 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.8566, allocations: 1.165 MB / 1.265 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.8566, allocations: 13.31 kB / 1.265 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.8566, allocations: 3.156 kB / 1.265 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.8566, allocations: 9.094 kB / 1.265 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.8576, allocations: 0.9361 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8576, allocations: 1.078 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.8583, allocations: 152.5 kB / 1.266 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.8587, allocations: 75.5 kB / 1.266 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.8588, allocations: 27.28 kB / 1.266 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.8603, allocations: 1.656 MB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8603, allocations: 4.906 kB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.8623, allocations: 0.9989 MB / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.8627, allocations: 281.8 kB / 1.269 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8628, allocations: 18.31 kB / 1.269 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.8635, allocations: 72.12 kB / 1.269 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8637, allocations: 77.77 kB / 1.269 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.8638, allocations: 39.53 kB / 1.269 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005983/0.8644, allocations: 489.4 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8644, allocations: 0.6562 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008223/0.8652, allocations: 329.2 kB / 1.27 GB, free: 169.3 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003621/0.8689, allocations: 2.045 MB / 1.272 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.8709, allocations: 0.8626 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8709, allocations: 0.5 kB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.8721, allocations: 0.5473 MB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.8733, allocations: 303.4 kB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8839, allocations: 6.594 MB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.8844, allocations: 1.045 MB / 1.281 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007779/0.8851, allocations: 269.3 kB / 1.281 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.8856, allocations: 405.2 kB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/0.8856, allocations: 0 / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.9331, allocations: 22.34 MB / 1.303 GB, free: 155.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.83, allocations: 7 kB / 1.303 GB, free: 155.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,incAng.incAng Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,incAng.incAng,solHouAng.solHouAng