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.0101/0.0101, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.002412/0.002412, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.786/1.786, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.426/2.426, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7829, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00582/0.7888, allocations: 4.515 MB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.9681, allocations: 150.7 MB / 1.239 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.9697, allocations: 18.69 kB / 1.239 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.9707, allocations: 180.7 kB / 1.239 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.9739, allocations: 0.5282 MB / 1.24 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.9769, allocations: 0.8718 MB / 1.241 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.9792, allocations: 1.39 MB / 1.242 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.9804, allocations: 0.6368 MB / 1.243 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.9815, allocations: 0.5067 MB / 1.243 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.9825, allocations: 0.5306 MB / 1.244 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.9829, allocations: 122.2 kB / 1.244 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.9842, allocations: 0.5011 MB / 1.244 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.9846, allocations: 312.5 kB / 1.244 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.9858, allocations: 0.5738 MB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.9883, allocations: 1.705 MB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9884, allocations: 3.938 kB / 1.247 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9884, allocations: 0 / 1.247 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.9884, allocations: 3.984 kB / 1.247 GB, free: 10.69 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003162/0.9916, allocations: 1.483 MB / 1.248 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9916, allocations: 8.031 kB / 1.248 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.9919, allocations: 139.8 kB / 1.248 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/0.9928, allocations: 195.4 kB / 1.248 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.9941, allocations: 0.7856 MB / 1.249 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.9942, allocations: 66 kB / 1.249 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.9943, allocations: 88 kB / 1.249 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.996, allocations: 0.9769 MB / 1.25 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.996, allocations: 4 kB / 1.25 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.9961, allocations: 43.98 kB / 1.25 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.9962, allocations: 23.98 kB / 1.25 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.998, allocations: 1.163 MB / 1.252 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/1.003, allocations: 2.663 MB / 1.254 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/1.005, allocations: 0.9771 MB / 1.255 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/1.005, allocations: 322.7 kB / 1.255 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/1.005, allocations: 38.73 kB / 1.255 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009551/1.006, allocations: 0.5431 MB / 1.256 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 3.146e-06/1.006, allocations: 0 / 1.256 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.00334/1.01, allocations: 1.298 MB / 1.257 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.01, allocations: 192.9 kB / 1.257 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/1.011, allocations: 0.649 MB / 1.258 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/1.011, allocations: 41.7 kB / 1.258 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/1.011, allocations: 408.5 kB / 1.258 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.011, allocations: 283.9 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.012, allocations: 166.5 kB / 1.259 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.012, allocations: 386.8 kB / 1.259 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/1.012, allocations: 273.8 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/1.013, allocations: 382.5 kB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.014, allocations: 0.6281 MB / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.014, allocations: 0 / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002089/1.016, allocations: 0.8681 MB / 1.261 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.016, allocations: 4 kB / 1.261 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.016, allocations: 4 kB / 1.261 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/1.017, allocations: 84.83 kB / 1.261 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/1.018, allocations: 159.8 kB / 1.262 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/1.02, allocations: 1.63 MB / 1.263 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/1.021, allocations: 112 kB / 1.263 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/1.021, allocations: 35.98 kB / 1.263 GB, free: 9.066 MB / 0.9981 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.0004338/1.021, allocations: 267.4 kB / 1.264 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.022, allocations: 86.97 kB / 1.264 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/1.024, allocations: 1.191 MB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.024, allocations: 8 kB / 1.265 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.024, allocations: 8 kB / 1.265 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.024, allocations: 3.984 kB / 1.265 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.028, allocations: 2.115 MB / 1.267 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.028, allocations: 3.984 kB / 1.267 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/1.028, allocations: 167.7 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/1.029, allocations: 72.78 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/1.029, allocations: 27.97 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.031, allocations: 1.658 MB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.031, allocations: 0 / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.033, allocations: 1.096 MB / 1.27 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/1.034, allocations: 291.5 kB / 1.27 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.034, allocations: 24 kB / 1.27 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/1.035, allocations: 67.92 kB / 1.27 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.035, allocations: 92.75 kB / 1.27 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/1.035, allocations: 39.97 kB / 1.27 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006212/1.035, allocations: 475 kB / 1.271 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.035, allocations: 0 / 1.271 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009112/1.036, allocations: 327.2 kB / 1.271 GB, free: 0.8125 MB / 0.9981 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.00393/1.04, allocations: 2.165 MB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.042, allocations: 0.8703 MB / 1.274 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.042, allocations: 0 / 1.274 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.043, allocations: 0.5666 MB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.045, allocations: 300.7 kB / 1.275 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/1.057, allocations: 6.655 MB / 1.281 GB, free: 6.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/1.058, allocations: 1.044 MB / 1.282 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008669/1.059, allocations: 279 kB / 1.283 GB, free: 4.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/1.059, allocations: 411.3 kB / 1.283 GB, free: 4.508 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.059, allocations: 4 kB / 1.283 GB, free: 4.504 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.832/3.892, allocations: 23.01 MB / 1.306 GB, free: 13.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.26/28.15, allocations: 13.94 kB / 1.306 GB, free: 13.82 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches