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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_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_10_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.001656/0.001656, 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.001661/0.001661, allocations: 196.3 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.5/1.5, 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.739/2.739, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 71.88 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.7007, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007363/0.7081, allocations: 5.009 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.8919, allocations: 150.7 MB / 1.169 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.8928, allocations: 19.88 kB / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.8935, allocations: 202.2 kB / 1.17 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.8954, allocations: 0.5656 MB / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.8976, allocations: 0.8842 MB / 1.171 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.8995, allocations: 1.46 MB / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009818/0.9004, allocations: 0.5945 MB / 1.173 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007674/0.9012, allocations: 0.5061 MB / 1.174 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.902, allocations: 0.5368 MB / 1.174 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.9022, allocations: 124 kB / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.9032, allocations: 483.6 kB / 1.175 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.9035, allocations: 323 kB / 1.175 GB, free: 476 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.9042, allocations: 0.5908 MB / 1.176 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.9067, allocations: 1.682 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9067, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9067, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.9068, allocations: 0 / 1.177 GB, free: 14.18 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.003173/0.9099, allocations: 1.499 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.91, allocations: 16.03 kB / 1.179 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.911, allocations: 187.3 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.9123, allocations: 0.7624 MB / 1.18 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.9124, allocations: 69.98 kB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.9125, allocations: 88 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.9143, allocations: 0.973 MB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.9143, allocations: 0 / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.9144, allocations: 40 kB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.9144, allocations: 20 kB / 1.181 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.9164, allocations: 1.163 MB / 1.182 GB, free: 9.23 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.004801/0.9212, allocations: 2.915 MB / 1.185 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.9236, allocations: 0.9732 MB / 1.186 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.9242, allocations: 326.7 kB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-05/0.9243, allocations: 36.67 kB / 1.186 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.9254, allocations: 0.5374 MB / 1.187 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 4.538e-06/0.9254, allocations: 0 / 1.187 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003573/0.929, allocations: 1.305 MB / 1.188 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.9291, allocations: 188.9 kB / 1.188 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.9301, allocations: 0.6566 MB / 1.189 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.9302, allocations: 45.64 kB / 1.189 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.9305, allocations: 404.5 kB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.9308, allocations: 287.8 kB / 1.189 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.9311, allocations: 174.5 kB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.9314, allocations: 398.7 kB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.932, allocations: 289.8 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.9327, allocations: 387.1 kB / 1.191 GB, free: 76 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.9341, allocations: 0.6555 MB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9341, allocations: 0 / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002302/0.9364, allocations: 0.9189 MB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.9364, allocations: 4 kB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9364, allocations: 4 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.9371, allocations: 84.83 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.9379, allocations: 175.8 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.9402, allocations: 1.634 MB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.9411, allocations: 104.8 kB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.9412, allocations: 43.95 kB / 1.194 GB, free: 12.29 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: 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.0005207/0.9417, allocations: 275.9 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.9419, allocations: 86.88 kB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.9448, allocations: 1.195 MB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9448, allocations: 12 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9448, allocations: 0 / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.9448, allocations: 11.91 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.9486, allocations: 2.09 MB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9486, allocations: 7.938 kB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.9493, allocations: 167.8 kB / 1.198 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.9498, allocations: 76.78 kB / 1.198 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.9499, allocations: 31.91 kB / 1.198 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.952, allocations: 1.651 MB / 1.199 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.952, allocations: 0 / 1.199 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.9544, allocations: 1.093 MB / 1.201 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.9549, allocations: 287.7 kB / 1.201 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.955, allocations: 24 kB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/0.9558, allocations: 73.62 kB / 1.201 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.956, allocations: 92.69 kB / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.9561, allocations: 43.97 kB / 1.201 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006457/0.9567, allocations: 475 kB / 1.202 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9567, allocations: 0 / 1.202 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009827/0.9577, allocations: 351.2 kB / 1.202 GB, free: 4.016 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.001999/0.9597, allocations: 0.6156 MB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002971/0.9627, allocations: 1.136 MB / 1.204 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9627, allocations: 192 / 1.204 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9638, allocations: 0.5627 MB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.9652, allocations: 316.3 kB / 1.204 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.9687, allocations: 1.764 MB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.9694, allocations: 1.044 MB / 1.207 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009686/0.9704, allocations: 275.1 kB / 1.207 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.9707, allocations: 123.4 kB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.9707, allocations: 0 / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.03022/1.001, allocations: 16.11 MB / 1.223 GB, free: 14.37 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches