Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001226/0.001226, 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.001198/0.001198, allocations: 196.7 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.184/1.184, 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.075/2.075, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5014, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004535/0.506, allocations: 4.5 MB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.6404, allocations: 150.7 MB / 1.101 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.6412, allocations: 23.88 kB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.6419, allocations: 174.3 kB / 1.101 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.6439, allocations: 0.5228 MB / 1.102 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.646, allocations: 0.873 MB / 1.103 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.6475, allocations: 1.378 MB / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.6484, allocations: 0.6371 MB / 1.105 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007239/0.6492, allocations: 0.4983 MB / 1.105 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.6499, allocations: 0.5289 MB / 1.106 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.6501, allocations: 123.9 kB / 1.106 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.6511, allocations: 487.7 kB / 1.106 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.6514, allocations: 315 kB / 1.107 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.652, allocations: 0.5752 MB / 1.107 GB, free: 52 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.6539, allocations: 1.655 MB / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6539, allocations: 4 kB / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6539, allocations: 0 / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.654, allocations: 0 / 1.109 GB, free: 14.39 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002791/0.6568, allocations: 1.487 MB / 1.11 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6568, allocations: 8.031 kB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.657, allocations: 143.8 kB / 1.11 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.6579, allocations: 195.3 kB / 1.111 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.6589, allocations: 0.7661 MB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.659, allocations: 66 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6591, allocations: 84 kB / 1.112 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.6606, allocations: 0.9846 MB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6607, allocations: 4 kB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.6607, allocations: 36 kB / 1.113 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6608, allocations: 20 kB / 1.113 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.6625, allocations: 1.159 MB / 1.114 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.6665, allocations: 2.695 MB / 1.116 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.6685, allocations: 0.9849 MB / 1.117 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.669, allocations: 326.7 kB / 1.118 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/0.6691, allocations: 30.75 kB / 1.118 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/0.6699, allocations: 0.5392 MB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/0.67, allocations: 0 / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.00302/0.673, allocations: 1.29 MB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.6731, allocations: 200.9 kB / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.6738, allocations: 0.6489 MB / 1.12 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.6739, allocations: 45.69 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.6741, allocations: 408.5 kB / 1.121 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.6743, allocations: 279.9 kB / 1.121 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.6746, allocations: 158.5 kB / 1.121 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6747, allocations: 394.7 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.6752, allocations: 269.9 kB / 1.122 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.6759, allocations: 386.5 kB / 1.122 GB, free: 456 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6769, allocations: 0.632 MB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6769, allocations: 0 / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001852/0.6788, allocations: 0.8643 MB / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6788, allocations: 7.938 kB / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6788, allocations: 4 kB / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.6794, allocations: 80.84 kB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.6801, allocations: 167.7 kB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.682, allocations: 1.638 MB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.6827, allocations: 103.2 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.6828, allocations: 31.97 kB / 1.126 GB, free: 12.76 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003715/0.6831, allocations: 271.4 kB / 1.126 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.6833, allocations: 94.88 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.6858, allocations: 1.191 MB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6858, allocations: 8 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6858, allocations: 0 / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6859, allocations: 11.97 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.6891, allocations: 2.106 MB / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6891, allocations: 8 kB / 1.129 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.6897, allocations: 163.8 kB / 1.129 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.6901, allocations: 68.8 kB / 1.129 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.6902, allocations: 31.97 kB / 1.129 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.6919, allocations: 1.662 MB / 1.131 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6919, allocations: 3.938 kB / 1.131 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.6939, allocations: 1.093 MB / 1.132 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.6943, allocations: 283.7 kB / 1.132 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6944, allocations: 23.98 kB / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/0.6951, allocations: 71.92 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6953, allocations: 80.83 kB / 1.133 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.6953, allocations: 43.97 kB / 1.133 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005267/0.6959, allocations: 475 kB / 1.133 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6959, allocations: 0 / 1.133 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008169/0.6967, allocations: 331.2 kB / 1.133 GB, free: 4.508 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: 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.003354/0.7001, allocations: 2.17 MB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.7025, allocations: 1.101 MB / 1.137 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7025, allocations: 4.062 kB / 1.137 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.7034, allocations: 0.5588 MB / 1.137 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.7045, allocations: 305 kB / 1.137 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7152, allocations: 6.904 MB / 1.144 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.7158, allocations: 1.051 MB / 1.145 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008147/0.7166, allocations: 279 kB / 1.145 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.7171, allocations: 411.3 kB / 1.146 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.7171, allocations: 0 / 1.146 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.7635, allocations: 22.3 MB / 1.168 GB, free: 1.734 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.06, allocations: 9.906 kB / 1.168 GB, free: 1.727 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=864000.000000 File[6]=1728.000000 " Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solHouAng.solHouAng