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.001705/0.001705, allocations: 104.4 kB / 16.35 MB, free: 6.336 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.001897/0.001897, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.376/2.376, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.75 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2515, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00603/0.2575, allocations: 5.021 MB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5859/0.8435, allocations: 150.7 MB / 1.171 GB, free: 8 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.8443, allocations: 15.59 kB / 1.171 GB, free: 4 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.845, allocations: 194.3 kB / 1.171 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.847, allocations: 0.5655 MB / 1.172 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.8493, allocations: 0.8831 MB / 1.172 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.8513, allocations: 1.468 MB / 1.174 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.8523, allocations: 0.604 MB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.8532, allocations: 0.5094 MB / 1.175 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009429/0.8542, allocations: 0.5369 MB / 1.176 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.8545, allocations: 121.4 kB / 1.176 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.8559, allocations: 0.5058 MB / 1.176 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.8563, allocations: 315 kB / 1.176 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.8574, allocations: 0.5936 MB / 1.177 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.8597, allocations: 1.718 MB / 1.179 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8597, allocations: 1.406 kB / 1.179 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8597, allocations: 0 / 1.179 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.8597, allocations: 0 / 1.179 GB, free: 11.5 MB / 0.8887 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.002726/0.8625, allocations: 1.496 MB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8625, allocations: 9.531 kB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009475/0.8635, allocations: 193 kB / 1.18 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.8647, allocations: 0.791 MB / 1.181 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.8647, allocations: 66.56 kB / 1.181 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.8649, allocations: 85.72 kB / 1.181 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.8665, allocations: 0.9803 MB / 1.182 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8665, allocations: 0 / 1.182 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.8666, allocations: 38.06 kB / 1.182 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.8667, allocations: 20.97 kB / 1.182 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.8686, allocations: 1.156 MB / 1.183 GB, free: 8.32 MB / 0.8887 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.004287/0.8729, allocations: 2.891 MB / 1.186 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.8749, allocations: 0.9709 MB / 1.187 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.8754, allocations: 330.9 kB / 1.188 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.8755, allocations: 31.19 kB / 1.188 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009072/0.8764, allocations: 0.5354 MB / 1.188 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 2.214e-06/0.8764, allocations: 0 / 1.188 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.003207/0.8796, allocations: 1.307 MB / 1.189 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.8797, allocations: 192.9 kB / 1.19 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.8805, allocations: 0.657 MB / 1.19 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.8806, allocations: 42.36 kB / 1.19 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.8809, allocations: 402.4 kB / 1.191 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.8811, allocations: 290 kB / 1.191 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.8813, allocations: 183 kB / 1.191 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8815, allocations: 388.3 kB / 1.191 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.882, allocations: 288.9 kB / 1.192 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.8826, allocations: 393.3 kB / 1.192 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.8837, allocations: 0.6456 MB / 1.193 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8837, allocations: 0 / 1.193 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001898/0.8856, allocations: 0.9239 MB / 1.194 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8856, allocations: 8.938 kB / 1.194 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8857, allocations: 2.469 kB / 1.194 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.8862, allocations: 77.44 kB / 1.194 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.8869, allocations: 187 kB / 1.194 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.8888, allocations: 1.62 MB / 1.195 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/0.8896, allocations: 112.6 kB / 1.196 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.8897, allocations: 40.81 kB / 1.196 GB, free: 15.56 MB / 0.9044 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.0004036/0.8901, allocations: 273.8 kB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.8903, allocations: 97.83 kB / 1.196 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.8927, allocations: 1.184 MB / 1.197 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8927, allocations: 13.33 kB / 1.197 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.8927, allocations: 3.938 kB / 1.197 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.8927, allocations: 3.984 kB / 1.197 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.8958, allocations: 2.098 MB / 1.199 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8959, allocations: 0 / 1.199 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.8965, allocations: 172.1 kB / 1.199 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.8969, allocations: 69.33 kB / 1.199 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.897, allocations: 27.75 kB / 1.199 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.8987, allocations: 1.664 MB / 1.201 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8987, allocations: 0 / 1.201 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.9007, allocations: 1.089 MB / 1.202 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.9012, allocations: 292.5 kB / 1.202 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.9013, allocations: 20.78 kB / 1.202 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.902, allocations: 67.2 kB / 1.202 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9021, allocations: 82.91 kB / 1.203 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.9022, allocations: 40.78 kB / 1.203 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005306/0.9028, allocations: 480.4 kB / 1.203 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9028, allocations: 0 / 1.203 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009022/0.9037, allocations: 355.1 kB / 1.203 GB, free: 10.2 MB / 0.9044 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.001293/0.905, allocations: 0.619 MB / 1.204 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.9066, allocations: 0.9103 MB / 1.205 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9066, allocations: 0 / 1.205 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.9075, allocations: 0.5701 MB / 1.205 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.9086, allocations: 305.9 kB / 1.206 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.9113, allocations: 1.745 MB / 1.207 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.9119, allocations: 1.044 MB / 1.208 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007363/0.9126, allocations: 275.1 kB / 1.209 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.9129, allocations: 127.3 kB / 1.209 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of SimCode: time 7.71e-07/0.9129, allocations: 0 / 1.209 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of Templates: time 0.0369/0.9498, allocations: 16.1 MB / 1.225 GB, free: 5.586 MB / 0.92 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 -s gbode -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/jenkins1/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