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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008402/0.0008402, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009139/0.0009139, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6038, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005108/0.609, allocations: 4.336 MB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1492/0.7582, allocations: 136.9 MB / 1.16 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.759, allocations: 23.88 kB / 1.16 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.7596, allocations: 138.8 kB / 1.161 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.7613, allocations: 481.1 kB / 1.161 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.7631, allocations: 0.6626 MB / 1.162 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.7646, allocations: 1.276 MB / 1.163 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008251/0.7654, allocations: 459.7 kB / 1.163 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.7661, allocations: 374.4 kB / 1.164 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.7668, allocations: 406 kB / 1.164 GB, free: 14.56 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.767, allocations: 31.94 kB / 1.164 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.7678, allocations: 355.7 kB / 1.164 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.7681, allocations: 195.1 kB / 1.165 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.7683, allocations: 209.1 kB / 1.165 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.7697, allocations: 1.239 MB / 1.166 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7697, allocations: 0 / 1.166 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7697, allocations: 0 / 1.166 GB, free: 12.54 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.211e-05/0.7697, allocations: 0 / 1.166 GB, free: 12.54 MB / 0.92 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.002838/0.7726, allocations: 1.288 MB / 1.167 GB, free: 11.2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7726, allocations: 8.562 kB / 1.167 GB, free: 11.19 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.7737, allocations: 206.4 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7749, allocations: 0.731 MB / 1.168 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.775, allocations: 74 kB / 1.168 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.7752, allocations: 84 kB / 1.168 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.777, allocations: 0.9846 MB / 1.169 GB, free: 9.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.7771, allocations: 0 / 1.169 GB, free: 9.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.7772, allocations: 39.98 kB / 1.169 GB, free: 8.992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.7772, allocations: 24 kB / 1.169 GB, free: 8.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.7792, allocations: 1.159 MB / 1.17 GB, free: 7.809 MB / 0.92 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.004762/0.784, allocations: 2.944 MB / 1.173 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.7861, allocations: 0.9843 MB / 1.174 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/0.7867, allocations: 330.7 kB / 1.175 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.7868, allocations: 32.67 kB / 1.175 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009582/0.7878, allocations: 0.5392 MB / 1.175 GB, free: 2.824 MB / 0.92 GB Notification: Performance of pre-optimization done (n=88): time 2.455e-06/0.7878, allocations: 0 / 1.175 GB, free: 2.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=88): time 0.003113/0.7909, allocations: 1.302 MB / 1.176 GB, free: 1.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.791, allocations: 196.9 kB / 1.177 GB, free: 1.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.7918, allocations: 0.6488 MB / 1.177 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.7919, allocations: 45.7 kB / 1.177 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.7922, allocations: 408.4 kB / 1.178 GB, free: 152 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.7924, allocations: 284.1 kB / 1.178 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.7925, allocations: 16 kB / 1.178 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7927, allocations: 382.8 kB / 1.178 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.7932, allocations: 293.8 kB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.7939, allocations: 395.1 kB / 1.179 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.7946, allocations: 326.8 kB / 1.179 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7946, allocations: 4 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001949/0.7965, allocations: 0.9188 MB / 1.18 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7966, allocations: 4 kB / 1.18 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7966, allocations: 0 / 1.18 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.7971, allocations: 92.77 kB / 1.18 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.7978, allocations: 171.8 kB / 1.181 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.7999, allocations: 1.528 MB / 1.182 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.8007, allocations: 118.5 kB / 1.182 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.8008, allocations: 39.97 kB / 1.182 GB, free: 11.45 MB / 0.9356 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,solAzi.outsidePolarCircle,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004071/0.8012, allocations: 279.9 kB / 1.182 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.8014, allocations: 86.88 kB / 1.182 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.8042, allocations: 1.214 MB / 1.184 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.8042, allocations: 11.94 kB / 1.184 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8042, allocations: 3.953 kB / 1.184 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8042, allocations: 7.984 kB / 1.184 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.8076, allocations: 2.098 MB / 1.186 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8076, allocations: 0 / 1.186 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.8082, allocations: 171.7 kB / 1.186 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/0.8087, allocations: 84.78 kB / 1.186 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.8088, allocations: 27.97 kB / 1.186 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.8105, allocations: 1.544 MB / 1.188 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8105, allocations: 0 / 1.188 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.8125, allocations: 1.09 MB / 1.189 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.813, allocations: 311.4 kB / 1.189 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.8131, allocations: 19.94 kB / 1.189 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/0.8139, allocations: 103.1 kB / 1.189 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.814, allocations: 80.83 kB / 1.189 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.8141, allocations: 43.97 kB / 1.189 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005777/0.8147, allocations: 467 kB / 1.19 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8147, allocations: 0 / 1.19 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009114/0.8157, allocations: 355.2 kB / 1.19 GB, free: 3.227 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.817, allocations: 0.611 MB / 1.191 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.8188, allocations: 0.9016 MB / 1.191 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8188, allocations: 4.062 kB / 1.191 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009626/0.8198, allocations: 0.5666 MB / 1.192 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.8209, allocations: 266.5 kB / 1.192 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.8242, allocations: 2.157 MB / 1.194 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.8248, allocations: 1.041 MB / 1.195 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008942/0.8257, allocations: 287.1 kB / 1.196 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.826, allocations: 115.3 kB / 1.196 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.826, allocations: 4 kB / 1.196 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.02475/0.8508, allocations: 14.86 MB / 1.21 GB, free: 14.7 MB / 0.9669 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=480 -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