Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001486/0.001485, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001464/0.001464, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8766, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006393/0.883, allocations: 4.403 MB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2012/1.084, allocations: 150.6 MB / 1.24 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/1.086, allocations: 19.19 kB / 1.24 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009905/1.087, allocations: 171.7 kB / 1.24 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/1.09, allocations: 0.522 MB / 1.241 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/1.093, allocations: 0.8309 MB / 1.241 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002333/1.095, allocations: 1.345 MB / 1.243 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.097, allocations: 0.6345 MB / 1.243 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/1.098, allocations: 0.4906 MB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/1.099, allocations: 0.5053 MB / 1.244 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003678/1.099, allocations: 118.5 kB / 1.244 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/1.1, allocations: 483.2 kB / 1.245 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/1.101, allocations: 307 kB / 1.245 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008789/1.102, allocations: 0.5596 MB / 1.246 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/1.105, allocations: 1.635 MB / 1.247 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.105, allocations: 0 / 1.247 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/1.105, allocations: 4 kB / 1.247 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.225e-05/1.105, allocations: 0 / 1.247 GB, free: 11.28 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.003533/1.108, allocations: 1.448 MB / 1.249 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.108, allocations: 8.031 kB / 1.249 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.109, allocations: 187.4 kB / 1.249 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.111, allocations: 0.7819 MB / 1.25 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/1.111, allocations: 69.94 kB / 1.25 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/1.111, allocations: 76 kB / 1.25 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.113, allocations: 0.9418 MB / 1.251 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.113, allocations: 0 / 1.251 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/1.113, allocations: 40 kB / 1.251 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/1.113, allocations: 20 kB / 1.251 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/1.115, allocations: 1.128 MB / 1.252 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/1.119, allocations: 2.504 MB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.121, allocations: 0.9049 MB / 1.255 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/1.121, allocations: 313.3 kB / 1.256 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/1.122, allocations: 40.61 kB / 1.256 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008911/1.122, allocations: 0.5235 MB / 1.256 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 4.007e-06/1.122, allocations: 0 / 1.256 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003217/1.126, allocations: 1.247 MB / 1.257 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.126, allocations: 196.9 kB / 1.258 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009472/1.127, allocations: 0.641 MB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/1.127, allocations: 41.7 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.127, allocations: 396.4 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.127, allocations: 276.1 kB / 1.259 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/1.128, allocations: 170.5 kB / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.128, allocations: 386.8 kB / 1.259 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/1.128, allocations: 277.8 kB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/1.129, allocations: 375.1 kB / 1.26 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.13, allocations: 0.6203 MB / 1.261 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.13, allocations: 0 / 1.261 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002082/1.132, allocations: 0.8761 MB / 1.261 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.132, allocations: 8 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.132, allocations: 3.938 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/1.133, allocations: 84.86 kB / 1.262 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/1.134, allocations: 167.7 kB / 1.262 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.136, allocations: 1.622 MB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008746/1.137, allocations: 103.3 kB / 1.263 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.137, allocations: 35.97 kB / 1.263 GB, free: 10.29 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.0005736/1.138, allocations: 280.8 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.138, allocations: 86.95 kB / 1.264 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/1.141, allocations: 1.132 MB / 1.265 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.141, allocations: 11.94 kB / 1.265 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.141, allocations: 4 kB / 1.265 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.141, allocations: 7.922 kB / 1.265 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/1.144, allocations: 2.022 MB / 1.267 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.144, allocations: 0 / 1.267 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/1.145, allocations: 147.8 kB / 1.267 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.145, allocations: 80.72 kB / 1.267 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/1.145, allocations: 27.97 kB / 1.267 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/1.147, allocations: 1.658 MB / 1.269 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.147, allocations: 0 / 1.269 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/1.15, allocations: 1.049 MB / 1.27 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/1.15, allocations: 271.7 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.15, allocations: 24 kB / 1.27 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/1.151, allocations: 67.92 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.151, allocations: 76.89 kB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/1.151, allocations: 44.03 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006668/1.152, allocations: 463 kB / 1.271 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.152, allocations: 3.938 kB / 1.271 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009948/1.153, allocations: 323.2 kB / 1.271 GB, free: 2.277 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.001449/1.155, allocations: 0.6037 MB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.156, allocations: 0.8663 MB / 1.272 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.157, allocations: 8.172 kB / 1.272 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009823/1.158, allocations: 0.5392 MB / 1.273 GB, free: 420 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.159, allocations: 297.2 kB / 1.273 GB, free: 148 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/1.163, allocations: 1.827 MB / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.164, allocations: 1.036 MB / 1.276 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/1.164, allocations: 123.4 kB / 1.276 GB, free: 13.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.164, allocations: 4 kB / 1.276 GB, free: 13.09 MB / 1.014 GB Notification: Performance of Templates: time 0.02764/1.192, allocations: 18.86 MB / 1.295 GB, free: 10.28 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches