Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 5.719 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006179/0.3358, allocations: 4.408 MB / 1.064 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.5089, allocations: 146.7 MB / 1.207 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.5104, allocations: 19.94 kB / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.5113, allocations: 146.8 kB / 1.207 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5132, allocations: 464.7 kB / 1.207 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5152, allocations: 0.7285 MB / 1.208 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5168, allocations: 1.28 MB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.5177, allocations: 0.5632 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.5183, allocations: 346.4 kB / 1.21 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.5188, allocations: 381.9 kB / 1.211 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.5189, allocations: 28 kB / 1.211 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.5198, allocations: 371.6 kB / 1.211 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.52, allocations: 179.1 kB / 1.211 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.5204, allocations: 474.9 kB / 1.212 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.5217, allocations: 1.181 MB / 1.213 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5217, allocations: 4 kB / 1.213 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5217, allocations: 0 / 1.213 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5217, allocations: 0 / 1.213 GB, free: 7.145 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00226/0.524, allocations: 1.212 MB / 1.214 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.524, allocations: 8.031 kB / 1.214 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.5249, allocations: 191.4 kB / 1.214 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.526, allocations: 0.7461 MB / 1.215 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.5261, allocations: 65.98 kB / 1.215 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5262, allocations: 80 kB / 1.215 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5278, allocations: 0.9223 MB / 1.216 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5278, allocations: 0 / 1.216 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.5279, allocations: 36 kB / 1.216 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.5279, allocations: 20 kB / 1.216 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.5297, allocations: 1.12 MB / 1.217 GB, free: 2.621 MB / 0.9669 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.004315/0.534, allocations: 2.778 MB / 1.22 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.5356, allocations: 0.8998 MB / 1.221 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.5362, allocations: 310.6 kB / 1.221 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5363, allocations: 32.61 kB / 1.221 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.5373, allocations: 0.4913 MB / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.5373, allocations: 0 / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003164/0.5404, allocations: 1.202 MB / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.5406, allocations: 192.6 kB / 1.223 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.5414, allocations: 0.6214 MB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.5415, allocations: 41.7 kB / 1.224 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.5419, allocations: 396.3 kB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.5421, allocations: 260.3 kB / 1.224 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.5422, allocations: 69.69 kB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5424, allocations: 386.7 kB / 1.225 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.543, allocations: 269.9 kB / 1.225 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/0.5436, allocations: 371.1 kB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5447, allocations: 0.6073 MB / 1.226 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5447, allocations: 0 / 1.226 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002068/0.5468, allocations: 0.8605 MB / 1.227 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5468, allocations: 4 kB / 1.227 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5469, allocations: 4 kB / 1.227 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.5475, allocations: 88.8 kB / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.5482, allocations: 159.8 kB / 1.227 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.5504, allocations: 1.536 MB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000914/0.5514, allocations: 107.3 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.5515, allocations: 35.97 kB / 1.229 GB, free: 6.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0006001/0.5521, allocations: 263.4 kB / 1.229 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.5523, allocations: 90.89 kB / 1.229 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5548, allocations: 1.073 MB / 1.23 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5548, allocations: 8 kB / 1.23 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5548, allocations: 0 / 1.23 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5548, allocations: 3.984 kB / 1.23 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.5584, allocations: 1.974 MB / 1.232 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5584, allocations: 0 / 1.232 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.559, allocations: 143.7 kB / 1.232 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/0.5596, allocations: 92.77 kB / 1.232 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.5597, allocations: 23.98 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.5617, allocations: 1.559 MB / 1.234 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5617, allocations: 0 / 1.234 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.5639, allocations: 0.9961 MB / 1.235 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.5645, allocations: 283.7 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.5647, allocations: 27.94 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.5655, allocations: 85.38 kB / 1.235 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.5657, allocations: 72.88 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.5658, allocations: 31.98 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007316/0.5665, allocations: 459 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5665, allocations: 0 / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001082/0.5676, allocations: 319.2 kB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001588/0.5692, allocations: 0.5941 MB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.5712, allocations: 0.8351 MB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5712, allocations: 4 kB / 1.237 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5722, allocations: 0.5161 MB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5738, allocations: 279 kB / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.5775, allocations: 2.114 MB / 1.24 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.5783, allocations: 1.014 MB / 1.241 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.5787, allocations: 119.4 kB / 1.241 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.233e-06/0.5788, allocations: 0 / 1.241 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.588/1.167, allocations: 18.34 MB / 1.259 GB, free: 187.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches