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.001432/0.001432, allocations: 99.06 kB / 16.27 MB, free: 5.969 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.0015/0.0015, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 64.19 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3856, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.009176/0.3949, allocations: 4.993 MB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8256/1.221, allocations: 150.7 MB / 1.216 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.222, allocations: 16.47 kB / 1.216 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/1.222, allocations: 190.7 kB / 1.217 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/1.224, allocations: 0.5644 MB / 1.217 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/1.226, allocations: 0.8782 MB / 1.218 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001864/1.228, allocations: 1.447 MB / 1.219 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00096/1.229, allocations: 0.6072 MB / 1.22 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008504/1.23, allocations: 0.5101 MB / 1.22 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/1.231, allocations: 0.539 MB / 1.221 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/1.231, allocations: 122.4 kB / 1.221 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/1.232, allocations: 485.8 kB / 1.222 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003057/1.233, allocations: 321.2 kB / 1.222 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006174/1.233, allocations: 0.5887 MB / 1.222 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/1.236, allocations: 1.672 MB / 1.224 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.236, allocations: 2.594 kB / 1.224 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.424e-06/1.236, allocations: 0 / 1.224 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.236, allocations: 0 / 1.224 GB, free: 3.66 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.002879/1.238, allocations: 1.5 MB / 1.226 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.239, allocations: 7.844 kB / 1.226 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/1.239, allocations: 191.9 kB / 1.226 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/1.241, allocations: 0.7706 MB / 1.226 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/1.241, allocations: 66.72 kB / 1.227 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.241, allocations: 86.41 kB / 1.227 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.242, allocations: 0.9799 MB / 1.228 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.242, allocations: 0 / 1.228 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/1.242, allocations: 38.41 kB / 1.228 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/1.242, allocations: 21.31 kB / 1.228 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/1.244, allocations: 1.161 MB / 1.229 GB, free: 428 kB / 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.004521/1.249, allocations: 2.92 MB / 1.232 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/1.251, allocations: 0.974 MB / 1.233 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/1.252, allocations: 322.6 kB / 1.233 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-05/1.252, allocations: 36.67 kB / 1.233 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/1.253, allocations: 0.5424 MB / 1.233 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=88): time 2.534e-06/1.253, allocations: 0 / 1.233 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88): time 0.003358/1.256, allocations: 1.297 MB / 1.235 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.256, allocations: 200.9 kB / 1.235 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/1.257, allocations: 0.6527 MB / 1.236 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/1.257, allocations: 45.7 kB / 1.236 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.257, allocations: 404.4 kB / 1.236 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.258, allocations: 287.9 kB / 1.236 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/1.258, allocations: 178.5 kB / 1.236 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.258, allocations: 386.7 kB / 1.237 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.259, allocations: 289.8 kB / 1.237 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/1.259, allocations: 395.1 kB / 1.237 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.26, allocations: 0.6476 MB / 1.238 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.26, allocations: 0 / 1.238 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002097/1.263, allocations: 0.9189 MB / 1.239 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.263, allocations: 8.094 kB / 1.239 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.263, allocations: 7.984 kB / 1.239 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/1.263, allocations: 76.78 kB / 1.239 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/1.264, allocations: 183.7 kB / 1.239 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/1.266, allocations: 1.62 MB / 1.241 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/1.267, allocations: 103.3 kB / 1.241 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/1.267, allocations: 43.95 kB / 1.241 GB, free: 3.496 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.0004875/1.268, allocations: 275.9 kB / 1.241 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.268, allocations: 90.88 kB / 1.241 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.27, allocations: 1.194 MB / 1.242 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.27, allocations: 23.92 kB / 1.242 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.27, allocations: 0 / 1.242 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.27, allocations: 7.969 kB / 1.242 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/1.274, allocations: 2.09 MB / 1.245 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.274, allocations: 0 / 1.245 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/1.274, allocations: 163.8 kB / 1.245 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.275, allocations: 72.78 kB / 1.245 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/1.275, allocations: 33.38 kB / 1.245 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.277, allocations: 1.662 MB / 1.246 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.277, allocations: 0 / 1.246 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.279, allocations: 1.094 MB / 1.247 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/1.28, allocations: 287.6 kB / 1.248 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.28, allocations: 19.91 kB / 1.248 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/1.28, allocations: 75.92 kB / 1.248 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.281, allocations: 80.88 kB / 1.248 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/1.281, allocations: 39.98 kB / 1.248 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006183/1.281, allocations: 475 kB / 1.248 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.281, allocations: 0 / 1.248 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001004/1.282, allocations: 351.3 kB / 1.249 GB, free: 11.24 MB / 0.9669 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.001481/1.284, allocations: 0.6298 MB / 1.249 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002731/1.287, allocations: 1.136 MB / 1.25 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.287, allocations: 0 / 1.25 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.288, allocations: 0.5627 MB / 1.251 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.289, allocations: 308.9 kB / 1.251 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/1.292, allocations: 1.809 MB / 1.253 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/1.293, allocations: 1.048 MB / 1.254 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.293, allocations: 127.4 kB / 1.254 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.293, allocations: 0 / 1.254 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of Templates: time 0.02762/1.321, allocations: 19.52 MB / 1.273 GB, free: 2.273 MB / 0.9825 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