Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_10_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.001236/0.001236, 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.001175/0.001175, allocations: 193.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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437.1 MB / 0.7104 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5016, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005978/0.5076, allocations: 5.014 MB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.6403, allocations: 150.7 MB / 1.17 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.641, allocations: 15.94 kB / 1.17 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.6416, allocations: 190.1 kB / 1.17 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.6434, allocations: 0.5683 MB / 1.17 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.6452, allocations: 0.8892 MB / 1.171 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.6466, allocations: 1.448 MB / 1.173 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.6474, allocations: 0.5946 MB / 1.173 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.648, allocations: 0.5177 MB / 1.174 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.6486, allocations: 0.5368 MB / 1.174 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.6488, allocations: 124 kB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.6496, allocations: 487.6 kB / 1.175 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.6498, allocations: 319 kB / 1.175 GB, free: 420 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.6503, allocations: 0.5908 MB / 1.176 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.6517, allocations: 1.678 MB / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6517, allocations: 4 kB / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.337e-06/0.6517, allocations: 0 / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6517, allocations: 3.938 kB / 1.177 GB, free: 14.12 MB / 0.9356 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.002278/0.654, allocations: 1.499 MB / 1.179 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.6541, allocations: 8.031 kB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.6542, allocations: 147.7 kB / 1.179 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.655, allocations: 195.3 kB / 1.179 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.6559, allocations: 0.7622 MB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.656, allocations: 70 kB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/0.6561, allocations: 84 kB / 1.18 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6575, allocations: 0.9846 MB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.6575, allocations: 0 / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.6576, allocations: 40 kB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.6576, allocations: 24 kB / 1.181 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6593, allocations: 1.155 MB / 1.182 GB, free: 9.016 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.663, allocations: 2.911 MB / 1.185 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.6649, allocations: 0.9849 MB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.6654, allocations: 330.7 kB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.6655, allocations: 38.66 kB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008422/0.6664, allocations: 0.5276 MB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.214e-06/0.6664, allocations: 4 kB / 1.187 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003041/0.6694, allocations: 1.298 MB / 1.188 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.6695, allocations: 196.9 kB / 1.188 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.6702, allocations: 0.649 MB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.6703, allocations: 45.7 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.6705, allocations: 404.5 kB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.6707, allocations: 283.8 kB / 1.19 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.6709, allocations: 162.5 kB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6711, allocations: 390.7 kB / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.6716, allocations: 273.9 kB / 1.19 GB, free: 300 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.6722, allocations: 382.5 kB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.6732, allocations: 0.6359 MB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6732, allocations: 0 / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001802/0.675, allocations: 0.8643 MB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6751, allocations: 4 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6751, allocations: 0 / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.6756, allocations: 80.84 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.6763, allocations: 171.8 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.6781, allocations: 1.644 MB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.6788, allocations: 99.22 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.6788, allocations: 31.97 kB / 1.194 GB, free: 12.2 MB / 0.9512 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.0003172/0.6792, allocations: 271.5 kB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.6793, allocations: 90.95 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6817, allocations: 1.203 MB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6818, allocations: 8 kB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6818, allocations: 0 / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6818, allocations: 7.984 kB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.6848, allocations: 2.109 MB / 1.198 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6848, allocations: 8 kB / 1.198 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.6854, allocations: 167.7 kB / 1.198 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.6858, allocations: 76.78 kB / 1.198 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.6859, allocations: 23.98 kB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.6875, allocations: 1.658 MB / 1.2 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6876, allocations: 0 / 1.2 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.6895, allocations: 1.09 MB / 1.201 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.6898, allocations: 291.5 kB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6899, allocations: 24 kB / 1.201 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.6906, allocations: 71.92 kB / 1.201 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.6907, allocations: 84.83 kB / 1.201 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.6908, allocations: 35.97 kB / 1.201 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005225/0.6913, allocations: 479 kB / 1.202 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6913, allocations: 0 / 1.202 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007751/0.6921, allocations: 339.2 kB / 1.202 GB, free: 3.93 MB / 0.9512 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.003289/0.6954, allocations: 2.169 MB / 1.204 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.6977, allocations: 1.105 MB / 1.205 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6977, allocations: 0 / 1.205 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.6986, allocations: 0.5626 MB / 1.206 GB, free: 236 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6998, allocations: 311.5 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.7089, allocations: 6.795 MB / 1.213 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.7094, allocations: 1.049 MB / 1.214 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007577/0.7102, allocations: 283.1 kB / 1.214 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.7107, allocations: 407.3 kB / 1.214 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.7107, allocations: 4 kB / 1.214 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.7555, allocations: 22.69 MB / 1.236 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.94, allocations: 15.84 kB / 1.237 GB, free: 0.8906 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,solAzi.solTim