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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001455/0.001455, allocations: 191 kB / 17.29 MB, free: 5.516 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 69.11 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3102, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006914/0.3171, allocations: 4.501 MB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7205/1.038, allocations: 150.7 MB / 1.103 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/1.039, allocations: 16.03 kB / 1.103 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/1.039, allocations: 171.3 kB / 1.103 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/1.041, allocations: 0.5249 MB / 1.103 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/1.044, allocations: 0.8806 MB / 1.104 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002063/1.046, allocations: 1.38 MB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.047, allocations: 0.6461 MB / 1.106 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/1.048, allocations: 0.4999 MB / 1.107 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000804/1.048, allocations: 0.5276 MB / 1.107 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/1.049, allocations: 125.7 kB / 1.107 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/1.05, allocations: 0.5009 MB / 1.108 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/1.051, allocations: 311.3 kB / 1.108 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008221/1.051, allocations: 0.5715 MB / 1.109 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/1.055, allocations: 1.696 MB / 1.11 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.055, allocations: 0.5 kB / 1.11 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.466e-06/1.055, allocations: 0.5 kB / 1.11 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.862e-05/1.055, allocations: 1.203 kB / 1.11 GB, free: 4.445 MB / 0.8575 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.003723/1.058, allocations: 1.49 MB / 1.112 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.058, allocations: 9.281 kB / 1.112 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.06, allocations: 189 kB / 1.112 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/1.061, allocations: 0.788 MB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/1.061, allocations: 73.86 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.061, allocations: 84.8 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.063, allocations: 0.9769 MB / 1.114 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.063, allocations: 1.172 kB / 1.114 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/1.063, allocations: 40.5 kB / 1.114 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/1.063, allocations: 22.62 kB / 1.114 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.065, allocations: 1.157 MB / 1.115 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/1.07, allocations: 2.661 MB / 1.118 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/1.073, allocations: 0.9855 MB / 1.119 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/1.073, allocations: 321.9 kB / 1.119 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/1.073, allocations: 35.73 kB / 1.119 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/1.074, allocations: 0.5394 MB / 1.119 GB, free: 18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 3.136e-06/1.074, allocations: 1.203 kB / 1.119 GB, free: 18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003559/1.078, allocations: 1.284 MB / 1.121 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.078, allocations: 197.7 kB / 1.121 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/1.079, allocations: 0.6466 MB / 1.122 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.079, allocations: 44.23 kB / 1.122 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/1.08, allocations: 406.3 kB / 1.122 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/1.08, allocations: 285.6 kB / 1.122 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/1.08, allocations: 184.1 kB / 1.122 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.08, allocations: 393.4 kB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/1.081, allocations: 288.8 kB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/1.082, allocations: 392.8 kB / 1.123 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.083, allocations: 0.6542 MB / 1.124 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.083, allocations: 1.688 kB / 1.124 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002181/1.085, allocations: 0.912 MB / 1.125 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.085, allocations: 9.516 kB / 1.125 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.085, allocations: 1.375 kB / 1.125 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/1.086, allocations: 82.86 kB / 1.125 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/1.087, allocations: 179.7 kB / 1.125 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.089, allocations: 1.63 MB / 1.127 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.09, allocations: 111.5 kB / 1.127 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/1.09, allocations: 39.09 kB / 1.127 GB, free: 15.02 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.0006219/1.091, allocations: 281.6 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/1.091, allocations: 84.56 kB / 1.127 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/1.094, allocations: 1.194 MB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.094, allocations: 9.812 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.094, allocations: 1.375 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.094, allocations: 6.797 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/1.097, allocations: 2.101 MB / 1.131 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.097, allocations: 1.125 kB / 1.131 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/1.098, allocations: 164.4 kB / 1.131 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.099, allocations: 81.91 kB / 1.131 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/1.099, allocations: 29.14 kB / 1.131 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.101, allocations: 1.658 MB / 1.132 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.101, allocations: 0 / 1.132 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.103, allocations: 1.09 MB / 1.133 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.103, allocations: 290.5 kB / 1.134 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.104, allocations: 25.28 kB / 1.134 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/1.104, allocations: 70.92 kB / 1.134 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.105, allocations: 79.19 kB / 1.134 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/1.105, allocations: 42.09 kB / 1.134 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006935/1.105, allocations: 475.4 kB / 1.134 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.105, allocations: 0 / 1.134 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001417/1.107, allocations: 345.2 kB / 1.135 GB, free: 12.37 MB / 0.8731 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.001582/1.108, allocations: 0.6247 MB / 1.135 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00207/1.11, allocations: 0.9007 MB / 1.136 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.11, allocations: 1.094 kB / 1.136 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.112, allocations: 0.5631 MB / 1.137 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.113, allocations: 290 kB / 1.137 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/1.117, allocations: 1.847 MB / 1.139 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/1.118, allocations: 1.057 MB / 1.14 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00101/1.119, allocations: 274.8 kB / 1.14 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/1.119, allocations: 116.2 kB / 1.14 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of SimCode: time 7.42e-07/1.119, allocations: 0 / 1.14 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.0325/1.152, allocations: 15.73 MB / 1.156 GB, free: 5.285 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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