Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001569/0.001569, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001614/0.001614, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.91 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.8982, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007095/0.9053, allocations: 5.005 MB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1722/1.078, allocations: 150.7 MB / 1.36 GB, free: 1.332 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/1.079, allocations: 19.88 kB / 1.36 GB, free: 1.312 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009724/1.08, allocations: 202.2 kB / 1.361 GB, free: 1.113 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/1.082, allocations: 0.5625 MB / 1.361 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/1.085, allocations: 0.8955 MB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002149/1.087, allocations: 1.468 MB / 1.364 GB, free: 14.19 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/1.088, allocations: 0.6062 MB / 1.364 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.089, allocations: 0.5178 MB / 1.365 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/1.09, allocations: 0.5368 MB / 1.365 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003271/1.091, allocations: 124 kB / 1.365 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/1.092, allocations: 0.5034 MB / 1.366 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/1.092, allocations: 307 kB / 1.366 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/1.093, allocations: 0.5985 MB / 1.367 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/1.096, allocations: 1.719 MB / 1.368 GB, free: 9.254 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.096, allocations: 4 kB / 1.368 GB, free: 9.25 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/1.096, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.472e-05/1.096, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.092 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.003563/1.1, allocations: 1.495 MB / 1.37 GB, free: 7.699 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.1, allocations: 8.031 kB / 1.37 GB, free: 7.691 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.101, allocations: 195.4 kB / 1.37 GB, free: 7.5 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.102, allocations: 0.7819 MB / 1.371 GB, free: 6.676 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/1.102, allocations: 66 kB / 1.371 GB, free: 6.613 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/1.103, allocations: 84 kB / 1.371 GB, free: 6.531 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.105, allocations: 0.9846 MB / 1.372 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.105, allocations: 0 / 1.372 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/1.105, allocations: 40 kB / 1.372 GB, free: 5.465 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.105, allocations: 27.98 kB / 1.372 GB, free: 5.438 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/1.107, allocations: 1.155 MB / 1.373 GB, free: 4.285 MB / 1.092 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.004879/1.112, allocations: 2.883 MB / 1.376 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/1.114, allocations: 0.981 MB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/1.114, allocations: 330.8 kB / 1.377 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.309e-05/1.115, allocations: 32.52 kB / 1.377 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/1.116, allocations: 0.5296 MB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.695e-06/1.116, allocations: 0 / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.00337/1.119, allocations: 1.306 MB / 1.379 GB, free: 14.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.119, allocations: 196.9 kB / 1.379 GB, free: 13.8 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/1.12, allocations: 0.6489 MB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/1.12, allocations: 49.62 kB / 1.38 GB, free: 13.09 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/1.12, allocations: 400.5 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/1.121, allocations: 287.9 kB / 1.38 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/1.121, allocations: 186.4 kB / 1.381 GB, free: 12.22 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.121, allocations: 390.8 kB / 1.381 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/1.122, allocations: 293.8 kB / 1.381 GB, free: 11.54 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/1.122, allocations: 391 kB / 1.382 GB, free: 11.15 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.124, allocations: 0.6477 MB / 1.382 GB, free: 10.49 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.124, allocations: 7.938 kB / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002136/1.126, allocations: 0.9191 MB / 1.383 GB, free: 9.551 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.126, allocations: 4 kB / 1.383 GB, free: 9.547 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.126, allocations: 0 / 1.383 GB, free: 9.547 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/1.126, allocations: 84.83 kB / 1.383 GB, free: 9.461 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/1.127, allocations: 175.7 kB / 1.383 GB, free: 9.289 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.129, allocations: 1.629 MB / 1.385 GB, free: 7.516 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/1.13, allocations: 111.3 kB / 1.385 GB, free: 7.406 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/1.13, allocations: 39.97 kB / 1.385 GB, free: 7.367 MB / 1.107 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.0005095/1.131, allocations: 275.9 kB / 1.385 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.131, allocations: 82.97 kB / 1.386 GB, free: 7.008 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/1.134, allocations: 1.195 MB / 1.387 GB, free: 5.797 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.134, allocations: 8 kB / 1.387 GB, free: 5.789 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.134, allocations: 4 kB / 1.387 GB, free: 5.785 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.134, allocations: 3.984 kB / 1.387 GB, free: 5.781 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/1.137, allocations: 2.095 MB / 1.389 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.137, allocations: 4 kB / 1.389 GB, free: 3.625 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/1.138, allocations: 167.8 kB / 1.389 GB, free: 3.461 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/1.139, allocations: 76.72 kB / 1.389 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/1.139, allocations: 31.97 kB / 1.389 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.141, allocations: 1.654 MB / 1.391 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.141, allocations: 0 / 1.391 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/1.143, allocations: 1.092 MB / 1.392 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/1.143, allocations: 287.6 kB / 1.392 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/1.144, allocations: 27.98 kB / 1.392 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/1.144, allocations: 69.75 kB / 1.392 GB, free: 48 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.145, allocations: 92.75 kB / 1.392 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/1.145, allocations: 39.97 kB / 1.392 GB, free: 15.92 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006702/1.145, allocations: 471 kB / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of sort global known variables: time 3e-07/1.145, allocations: 0 / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001182/1.147, allocations: 351.2 kB / 1.393 GB, free: 15.12 MB / 1.123 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.001687/1.148, allocations: 0.6187 MB / 1.394 GB, free: 14.67 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00196/1.15, allocations: 0.8937 MB / 1.394 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.15, allocations: 192 / 1.394 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.151, allocations: 0.5666 MB / 1.395 GB, free: 13.18 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.153, allocations: 312.5 kB / 1.395 GB, free: 12.9 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/1.156, allocations: 1.779 MB / 1.397 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/1.157, allocations: 1.055 MB / 1.398 GB, free: 10.01 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.157, allocations: 131.4 kB / 1.398 GB, free: 9.883 MB / 1.123 GB Notification: Performance of SimCode: time 7.22e-07/1.157, allocations: 0 / 1.398 GB, free: 9.883 MB / 1.123 GB Notification: Performance of Templates: time 0.02958/1.187, allocations: 19.64 MB / 1.417 GB, free: 6.297 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches