Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_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.001426/0.001427, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001504/0.001505, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.86 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8885, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00613/0.8947, allocations: 4.316 MB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2048/1.1, allocations: 150.6 MB / 1.24 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/1.101, allocations: 19.41 kB / 1.24 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007371/1.101, allocations: 176.2 kB / 1.24 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/1.104, allocations: 0.5051 MB / 1.24 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.106, allocations: 0.838 MB / 1.241 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001626/1.108, allocations: 1.303 MB / 1.243 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/1.109, allocations: 0.6251 MB / 1.243 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/1.109, allocations: 479.4 kB / 1.244 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/1.11, allocations: 0.4893 MB / 1.244 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/1.111, allocations: 117.2 kB / 1.244 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/1.112, allocations: 482.9 kB / 1.245 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/1.112, allocations: 296.8 kB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/1.113, allocations: 0.5404 MB / 1.246 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/1.115, allocations: 1.622 MB / 1.247 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.115, allocations: 0 / 1.247 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/1.115, allocations: 4 kB / 1.247 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.214e-05/1.115, allocations: 0 / 1.247 GB, free: 11.43 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002678/1.118, allocations: 1.405 MB / 1.248 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.118, allocations: 8.031 kB / 1.248 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/1.119, allocations: 187.4 kB / 1.249 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.12, allocations: 0.7617 MB / 1.249 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/1.12, allocations: 66 kB / 1.249 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.12, allocations: 80 kB / 1.25 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.121, allocations: 0.9145 MB / 1.25 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/1.121, allocations: 0 / 1.25 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/1.122, allocations: 39.94 kB / 1.25 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/1.122, allocations: 20 kB / 1.25 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/1.123, allocations: 1.108 MB / 1.252 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/1.127, allocations: 2.496 MB / 1.254 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.129, allocations: 0.8887 MB / 1.255 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/1.129, allocations: 306.6 kB / 1.255 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/1.129, allocations: 32.61 kB / 1.255 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000815/1.13, allocations: 499.1 kB / 1.256 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.415e-06/1.13, allocations: 0 / 1.256 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002994/1.133, allocations: 1.19 MB / 1.257 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/1.133, allocations: 188.6 kB / 1.257 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/1.134, allocations: 0.6253 MB / 1.258 GB, free: 328 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/1.134, allocations: 41.7 kB / 1.258 GB, free: 280 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.134, allocations: 400.3 kB / 1.258 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.135, allocations: 256.3 kB / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/1.135, allocations: 158.5 kB / 1.258 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.135, allocations: 390.7 kB / 1.259 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/1.136, allocations: 269.8 kB / 1.259 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/1.136, allocations: 363.1 kB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.137, allocations: 0.6033 MB / 1.26 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.137, allocations: 0 / 1.26 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00188/1.139, allocations: 0.8488 MB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.139, allocations: 12 kB / 1.261 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.139, allocations: 3.938 kB / 1.261 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/1.14, allocations: 84.72 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.14, allocations: 159.7 kB / 1.261 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/1.142, allocations: 1.642 MB / 1.263 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/1.143, allocations: 91.34 kB / 1.263 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/1.143, allocations: 31.98 kB / 1.263 GB, free: 10.79 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: 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.0003889/1.144, allocations: 271.4 kB / 1.263 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.144, allocations: 83.12 kB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/1.146, allocations: 1.061 MB / 1.264 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.146, allocations: 8 kB / 1.264 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.146, allocations: 3.938 kB / 1.264 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.146, allocations: 7.969 kB / 1.264 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/1.149, allocations: 1.947 MB / 1.266 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.149, allocations: 0 / 1.266 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/1.15, allocations: 139.8 kB / 1.266 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/1.15, allocations: 76.72 kB / 1.266 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/1.15, allocations: 23.98 kB / 1.266 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/1.152, allocations: 1.677 MB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.152, allocations: 0 / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.154, allocations: 0.9941 MB / 1.269 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/1.154, allocations: 275.7 kB / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.154, allocations: 19.98 kB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.155, allocations: 66.75 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.155, allocations: 64.91 kB / 1.269 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/1.155, allocations: 39.97 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005516/1.156, allocations: 455 kB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.156, allocations: 0 / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008195/1.157, allocations: 307.2 kB / 1.27 GB, free: 3.035 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.001308/1.158, allocations: 0.6051 MB / 1.271 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.16, allocations: 0.8273 MB / 1.272 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.16, allocations: 0 / 1.272 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009302/1.161, allocations: 0.5239 MB / 1.272 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.162, allocations: 292.2 kB / 1.272 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/1.166, allocations: 1.779 MB / 1.274 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/1.166, allocations: 1.012 MB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/1.167, allocations: 115.4 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.167, allocations: 4 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of Templates: time 0.02401/1.191, allocations: 18.43 MB / 1.293 GB, free: 11.61 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches