Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 108 kB / 15.6 MB, free: 132 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.00185/0.00185, allocations: 194 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.7 MB / 0.7452 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 69.61 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007357/0.351, allocations: 4.918 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5174, allocations: 150.6 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.5184, allocations: 15.94 kB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.519, allocations: 186.2 kB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.5209, allocations: 0.5588 MB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.5228, allocations: 0.8488 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.5245, allocations: 1.417 MB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.5254, allocations: 0.587 MB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.5262, allocations: 0.4944 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.5268, allocations: 0.5251 MB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.5269, allocations: 116 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009743/0.5279, allocations: 451.7 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.5282, allocations: 311 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.5288, allocations: 0.5674 MB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.5307, allocations: 1.62 MB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5307, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5307, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.5307, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002687/0.5334, allocations: 1.463 MB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5335, allocations: 8.031 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/0.5344, allocations: 195.4 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5355, allocations: 0.7507 MB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.5356, allocations: 65.94 kB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5357, allocations: 87.98 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.5372, allocations: 0.9418 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.5372, allocations: 0 / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.5373, allocations: 36 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5373, allocations: 20 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.539, allocations: 1.132 MB / 1.232 GB, free: 1.652 MB / 0.9825 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.00414/0.5432, allocations: 2.743 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.5447, allocations: 0.9081 MB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.5453, allocations: 313.6 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/0.5454, allocations: 36.67 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009783/0.5464, allocations: 0.5042 MB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/0.5464, allocations: 11.94 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003319/0.5497, allocations: 1.251 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5498, allocations: 188.9 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.5507, allocations: 0.6448 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.5508, allocations: 49.69 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.5511, allocations: 392.4 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.5514, allocations: 268.2 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.5516, allocations: 186.3 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5518, allocations: 386.8 kB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.5523, allocations: 281.8 kB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.5529, allocations: 375.1 kB / 1.24 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.554, allocations: 0.6242 MB / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.554, allocations: 0 / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001976/0.556, allocations: 0.8722 MB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.556, allocations: 8 kB / 1.242 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5561, allocations: 3.938 kB / 1.242 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.5566, allocations: 88.8 kB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5573, allocations: 167.8 kB / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.5595, allocations: 1.64 MB / 1.244 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.5603, allocations: 91.31 kB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.5604, allocations: 39.97 kB / 1.244 GB, free: 5.176 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (99): * Single equations (assignments): 98 * 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.0004468/0.5609, allocations: 282.3 kB / 1.244 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.561, allocations: 82.97 kB / 1.244 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.5634, allocations: 1.14 MB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.5634, allocations: 11.94 kB / 1.245 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5635, allocations: 0 / 1.245 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5635, allocations: 11.97 kB / 1.245 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.5667, allocations: 2 MB / 1.247 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5667, allocations: 0 / 1.247 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.5673, allocations: 155.8 kB / 1.248 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.5677, allocations: 72.8 kB / 1.248 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.5678, allocations: 27.97 kB / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.551/1.119, allocations: 1.664 MB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.119, allocations: 0.6094 kB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/1.121, allocations: 1.046 MB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/1.122, allocations: 278.6 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.122, allocations: 21.97 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/1.123, allocations: 63.41 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.123, allocations: 77.48 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/1.123, allocations: 38.64 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005938/1.123, allocations: 465.3 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0.5 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00091/1.124, allocations: 334.5 kB / 1.251 GB, free: 182.2 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: 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 (99): * Single equations (assignments): 92 * 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.001313/1.126, allocations: 0.612 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.128, allocations: 1.087 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.128, allocations: 1.125 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009557/1.129, allocations: 0.5373 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.131, allocations: 310.1 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/1.133, allocations: 1.703 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.134, allocations: 1.037 MB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007376/1.135, allocations: 262.8 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.135, allocations: 116 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.135, allocations: 0 / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02911/1.164, allocations: 15.61 MB / 1.272 GB, free: 178 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches