Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_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_10_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.001495/0.001495, allocations: 108 kB / 15.61 MB, free: 152 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.002339/0.002339, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.424/1.424, 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 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6902, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008982/0.6992, allocations: 4.927 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1988/0.898, allocations: 150.6 MB / 1.169 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.8991, allocations: 15.94 kB / 1.169 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.8997, allocations: 190.2 kB / 1.169 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.9016, allocations: 0.563 MB / 1.17 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.9035, allocations: 0.8423 MB / 1.171 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.9049, allocations: 1.417 MB / 1.172 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008476/0.9058, allocations: 0.5882 MB / 1.173 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.9063, allocations: 0.4982 MB / 1.173 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.9069, allocations: 0.5096 MB / 1.174 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.9071, allocations: 120 kB / 1.174 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.9079, allocations: 471.6 kB / 1.174 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.9082, allocations: 303 kB / 1.175 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.9087, allocations: 0.5674 MB / 1.175 GB, free: 256 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.9104, allocations: 1.628 MB / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9104, allocations: 0 / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9104, allocations: 0 / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.9104, allocations: 0 / 1.177 GB, free: 14.62 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00255/0.913, allocations: 1.455 MB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.913, allocations: 12.03 kB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.9139, allocations: 187.3 kB / 1.178 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.9149, allocations: 0.7469 MB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.915, allocations: 66 kB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.9151, allocations: 95.84 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.9167, allocations: 0.9417 MB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.9167, allocations: 8 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.9168, allocations: 36 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.9168, allocations: 20 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.9186, allocations: 1.124 MB / 1.181 GB, free: 9.789 MB / 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.00393/0.9225, allocations: 2.755 MB / 1.184 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.9242, allocations: 0.8968 MB / 1.185 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.9247, allocations: 314.7 kB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/0.9248, allocations: 32.69 kB / 1.185 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008884/0.9257, allocations: 0.5197 MB / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.9257, allocations: 0 / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003329/0.9291, allocations: 1.251 MB / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.9292, allocations: 196.9 kB / 1.187 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.93, allocations: 0.6449 MB / 1.188 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.93, allocations: 45.7 kB / 1.188 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.9304, allocations: 392.5 kB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.9306, allocations: 280 kB / 1.188 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.9309, allocations: 166.5 kB / 1.189 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9311, allocations: 386.7 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.9316, allocations: 273.9 kB / 1.189 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.9323, allocations: 379.1 kB / 1.19 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.9335, allocations: 0.6242 MB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9335, allocations: 4 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002092/0.9356, allocations: 0.8877 MB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9356, allocations: 4 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9356, allocations: 8 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.9362, allocations: 76.88 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.9369, allocations: 171.8 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.9391, allocations: 1.63 MB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/0.9399, allocations: 103.3 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.94, allocations: 39.97 kB / 1.193 GB, free: 13.3 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: 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.0004515/0.9404, allocations: 267.8 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.9406, allocations: 86.91 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9432, allocations: 1.14 MB / 1.194 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.9432, allocations: 11.94 kB / 1.194 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.9432, allocations: 0 / 1.194 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.9432, allocations: 7.984 kB / 1.194 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.9465, allocations: 2.02 MB / 1.196 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9465, allocations: 0 / 1.196 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.9472, allocations: 159.7 kB / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.9477, allocations: 72.78 kB / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.9477, allocations: 23.98 kB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.9497, allocations: 1.658 MB / 1.198 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9497, allocations: 0 / 1.198 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.9519, allocations: 1.051 MB / 1.199 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.9523, allocations: 279.7 kB / 1.2 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.9525, allocations: 20 kB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.9532, allocations: 69.47 kB / 1.2 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.9534, allocations: 76.89 kB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.9534, allocations: 39.97 kB / 1.2 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005677/0.954, allocations: 463 kB / 1.2 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.954, allocations: 0 / 1.2 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000899/0.9549, allocations: 331.2 kB / 1.201 GB, free: 5.297 MB / 0.9512 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.00134/0.9563, allocations: 0.6096 MB / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.9588, allocations: 1.081 MB / 1.202 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9588, allocations: 4.188 kB / 1.202 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009788/0.9598, allocations: 0.547 MB / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.9611, allocations: 308.3 kB / 1.203 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.9641, allocations: 1.712 MB / 1.205 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.9647, allocations: 1.036 MB / 1.206 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.9656, allocations: 266.8 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.9658, allocations: 111.4 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.9658, allocations: 4 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.02632/0.9922, allocations: 15.61 MB / 1.221 GB, free: 328 kB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches