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.004794/0.004794, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001119/0.001119, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.484/2.484, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 1.018 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.8299, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006784/0.8367, allocations: 5.009 MB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.169/1.006, allocations: 150.7 MB / 1.319 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.007, allocations: 19.88 kB / 1.319 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006391/1.007, allocations: 190.2 kB / 1.319 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/1.009, allocations: 0.5756 MB / 1.319 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/1.011, allocations: 0.8919 MB / 1.32 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001729/1.013, allocations: 1.464 MB / 1.322 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/1.014, allocations: 0.5994 MB / 1.322 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/1.015, allocations: 0.5256 MB / 1.323 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/1.015, allocations: 0.5445 MB / 1.323 GB, free: 2.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/1.016, allocations: 120 kB / 1.323 GB, free: 2.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/1.017, allocations: 0.4996 MB / 1.324 GB, free: 2.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/1.017, allocations: 315 kB / 1.324 GB, free: 1.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004949/1.017, allocations: 0.5907 MB / 1.325 GB, free: 1.129 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/1.019, allocations: 1.727 MB / 1.327 GB, free: 15.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.019, allocations: 0 / 1.327 GB, free: 15.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.019, allocations: 0 / 1.327 GB, free: 15.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.019, allocations: 4 kB / 1.327 GB, free: 15.39 MB / 1.061 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.00275/1.022, allocations: 1.532 MB / 1.328 GB, free: 13.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.022, allocations: 12.03 kB / 1.328 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/1.023, allocations: 196 kB / 1.328 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.024, allocations: 0.7903 MB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/1.024, allocations: 73.98 kB / 1.329 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.025, allocations: 87.94 kB / 1.329 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/1.026, allocations: 0.9769 MB / 1.33 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.026, allocations: 0 / 1.33 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/1.026, allocations: 36 kB / 1.33 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/1.026, allocations: 24 kB / 1.33 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/1.028, allocations: 1.159 MB / 1.331 GB, free: 10.38 MB / 1.061 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.004262/1.032, allocations: 2.896 MB / 1.334 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/1.035, allocations: 0.9745 MB / 1.335 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/1.035, allocations: 324.2 kB / 1.335 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.123e-05/1.035, allocations: 36.67 kB / 1.335 GB, free: 6.023 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009004/1.036, allocations: 0.5413 MB / 1.336 GB, free: 5.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 3.797e-06/1.036, allocations: 3.984 kB / 1.336 GB, free: 5.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003392/1.04, allocations: 1.302 MB / 1.337 GB, free: 4.129 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.04, allocations: 188.9 kB / 1.337 GB, free: 3.902 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.041, allocations: 0.6644 MB / 1.338 GB, free: 3.227 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/1.041, allocations: 45.7 kB / 1.338 GB, free: 3.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/1.041, allocations: 413.2 kB / 1.339 GB, free: 2.766 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/1.041, allocations: 297.5 kB / 1.339 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/1.042, allocations: 182.5 kB / 1.339 GB, free: 2.289 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.042, allocations: 386.7 kB / 1.339 GB, free: 1.902 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/1.042, allocations: 289.8 kB / 1.34 GB, free: 1.617 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/1.043, allocations: 395 kB / 1.34 GB, free: 1.219 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.044, allocations: 0.6516 MB / 1.341 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.044, allocations: 0 / 1.341 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002045/1.046, allocations: 0.9194 MB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.046, allocations: 8 kB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.046, allocations: 3.984 kB / 1.342 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/1.047, allocations: 84.8 kB / 1.342 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/1.048, allocations: 183.7 kB / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.05, allocations: 1.622 MB / 1.343 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/1.051, allocations: 105.8 kB / 1.343 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/1.051, allocations: 43.95 kB / 1.344 GB, free: 13.44 MB / 1.076 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.0004593/1.051, allocations: 284 kB / 1.344 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.051, allocations: 95.39 kB / 1.344 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.054, allocations: 1.187 MB / 1.345 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.054, allocations: 12 kB / 1.345 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.054, allocations: 0 / 1.345 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.054, allocations: 7.969 kB / 1.345 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/1.058, allocations: 2.087 MB / 1.347 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.058, allocations: 4 kB / 1.347 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/1.058, allocations: 163.8 kB / 1.347 GB, free: 9.523 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/1.059, allocations: 76.72 kB / 1.347 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/1.059, allocations: 35.97 kB / 1.347 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.061, allocations: 1.647 MB / 1.349 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.061, allocations: 3.938 kB / 1.349 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.063, allocations: 1.112 MB / 1.35 GB, free: 6.484 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/1.063, allocations: 292.1 kB / 1.35 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.063, allocations: 16.06 kB / 1.35 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/1.064, allocations: 75.92 kB / 1.35 GB, free: 6.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.064, allocations: 84.81 kB / 1.351 GB, free: 6.008 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/1.064, allocations: 39.98 kB / 1.351 GB, free: 5.969 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005758/1.065, allocations: 475 kB / 1.351 GB, free: 5.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.065, allocations: 0 / 1.351 GB, free: 5.512 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009615/1.066, allocations: 359.1 kB / 1.351 GB, free: 5.16 MB / 1.076 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.001483/1.067, allocations: 0.6259 MB / 1.352 GB, free: 4.695 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.069, allocations: 0.9015 MB / 1.353 GB, free: 3.781 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.069, allocations: 4 kB / 1.353 GB, free: 3.777 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009755/1.07, allocations: 0.5628 MB / 1.353 GB, free: 3.203 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.072, allocations: 313.1 kB / 1.354 GB, free: 2.914 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/1.074, allocations: 1.779 MB / 1.355 GB, free: 1.102 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/1.075, allocations: 1.044 MB / 1.356 GB, free: 32 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000762/1.076, allocations: 275.1 kB / 1.357 GB, free: 15.76 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/1.076, allocations: 119.4 kB / 1.357 GB, free: 15.64 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.076, allocations: 0 / 1.357 GB, free: 15.64 MB / 1.092 GB Notification: Performance of Templates: time 0.02534/1.102, allocations: 16.27 MB / 1.373 GB, free: 15.5 MB / 1.107 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