Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001402/0.001402, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001433/0.001433, allocations: 199.7 kB / 16.91 MB, free: 6.176 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.001951, allocations: 67.42 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3553, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008246/0.3636, allocations: 4.915 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7645/1.128, allocations: 148.4 MB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/1.129, allocations: 15.59 kB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/1.13, allocations: 149.5 kB / 1.214 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/1.133, allocations: 0.4949 MB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.135, allocations: 0.7542 MB / 1.215 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002199/1.138, allocations: 1.425 MB / 1.217 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.139, allocations: 0.5854 MB / 1.217 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/1.14, allocations: 0.503 MB / 1.218 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000699/1.14, allocations: 0.5242 MB / 1.218 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/1.14, allocations: 118.2 kB / 1.218 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009977/1.141, allocations: 463.4 kB / 1.219 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/1.142, allocations: 300 kB / 1.219 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006203/1.142, allocations: 0.5772 MB / 1.22 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/1.144, allocations: 1.241 MB / 1.221 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.144, allocations: 0 / 1.221 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.144, allocations: 0 / 1.221 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.971e-05/1.144, allocations: 1.094 kB / 1.221 GB, free: 6.629 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.002968/1.147, allocations: 1.46 MB / 1.222 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.147, allocations: 8.344 kB / 1.222 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/1.148, allocations: 188.5 kB / 1.222 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.149, allocations: 0.7583 MB / 1.223 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/1.149, allocations: 71 kB / 1.223 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.149, allocations: 79.5 kB / 1.223 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/1.151, allocations: 0.943 MB / 1.224 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.151, allocations: 6.562 kB / 1.224 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.884e-05/1.151, allocations: 34.78 kB / 1.224 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.151, allocations: 26.42 kB / 1.224 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.153, allocations: 1.12 MB / 1.225 GB, free: 3.535 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.004404/1.157, allocations: 2.743 MB / 1.228 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/1.159, allocations: 0.9093 MB / 1.229 GB, free: 16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/1.16, allocations: 318.6 kB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/1.16, allocations: 36.67 kB / 1.229 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009988/1.161, allocations: 0.5081 MB / 1.23 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=84): time 2.364e-06/1.161, allocations: 0 / 1.23 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.003548/1.165, allocations: 1.255 MB / 1.231 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.165, allocations: 188.9 kB / 1.231 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/1.166, allocations: 0.641 MB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/1.166, allocations: 49.69 kB / 1.232 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/1.166, allocations: 397.3 kB / 1.232 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.166, allocations: 272.1 kB / 1.233 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.167, allocations: 170.5 kB / 1.233 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.167, allocations: 390.7 kB / 1.233 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/1.168, allocations: 273.8 kB / 1.233 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/1.168, allocations: 379.1 kB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.169, allocations: 0.6281 MB / 1.234 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.17, allocations: 0 / 1.234 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002182/1.172, allocations: 0.8799 MB / 1.235 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.172, allocations: 15.5 kB / 1.235 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.172, allocations: 1.641 kB / 1.235 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/1.172, allocations: 84.86 kB / 1.235 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/1.173, allocations: 171.7 kB / 1.235 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/1.176, allocations: 1.635 MB / 1.237 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/1.177, allocations: 99.38 kB / 1.237 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/1.177, allocations: 39.97 kB / 1.237 GB, free: 7.316 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.0005448/1.177, allocations: 269.9 kB / 1.237 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.177, allocations: 82.97 kB / 1.237 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/1.18, allocations: 1.14 MB / 1.239 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.18, allocations: 11.98 kB / 1.239 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.18, allocations: 3.938 kB / 1.239 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.18, allocations: 3.984 kB / 1.239 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/1.184, allocations: 2.016 MB / 1.241 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.184, allocations: 0 / 1.241 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/1.185, allocations: 155.7 kB / 1.241 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/1.185, allocations: 72.78 kB / 1.241 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/1.185, allocations: 23.98 kB / 1.241 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/1.187, allocations: 1.662 MB / 1.242 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.187, allocations: 0 / 1.242 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/1.19, allocations: 1.051 MB / 1.243 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/1.19, allocations: 275.7 kB / 1.244 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.19, allocations: 24 kB / 1.244 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/1.191, allocations: 71.83 kB / 1.244 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.191, allocations: 76.89 kB / 1.244 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/1.191, allocations: 39.97 kB / 1.244 GB, free: 96 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006674/1.192, allocations: 459.1 kB / 1.244 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.2e-07/1.192, allocations: 4 kB / 1.244 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00101/1.193, allocations: 331.3 kB / 1.245 GB, free: 15.32 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 (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.001981/1.195, allocations: 0.6123 MB / 1.245 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002813/1.198, allocations: 1.082 MB / 1.246 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.198, allocations: 4 kB / 1.246 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.199, allocations: 0.5392 MB / 1.247 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.2, allocations: 307 kB / 1.247 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/1.204, allocations: 2.169 MB / 1.249 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/1.205, allocations: 1.032 MB / 1.25 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.206, allocations: 131.3 kB / 1.25 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/1.206, allocations: 0 / 1.25 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of Templates: time 0.0304/1.236, allocations: 18.91 MB / 1.269 GB, free: 6.715 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches