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.006857/0.006857, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001344/0.001344, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.343/1.343, allocations: 222.9 MB / 240.4 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.193/2.193, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8403, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005454/0.8458, allocations: 4.408 MB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1825/1.028, allocations: 150.6 MB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/1.03, allocations: 19.91 kB / 1.239 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009547/1.031, allocations: 180.2 kB / 1.239 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/1.033, allocations: 0.5151 MB / 1.24 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/1.036, allocations: 0.8556 MB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001956/1.038, allocations: 1.343 MB / 1.242 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.039, allocations: 0.629 MB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.04, allocations: 495.1 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/1.041, allocations: 0.5172 MB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/1.041, allocations: 118.4 kB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/1.042, allocations: 490.8 kB / 1.244 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/1.042, allocations: 303 kB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/1.043, allocations: 0.5557 MB / 1.245 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/1.045, allocations: 1.639 MB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.045, allocations: 4 kB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.592e-06/1.045, allocations: 0 / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.797e-05/1.045, allocations: 0 / 1.247 GB, free: 11.05 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.002669/1.048, allocations: 1.485 MB / 1.248 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.048, allocations: 8.031 kB / 1.248 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009302/1.048, allocations: 192 kB / 1.248 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.05, allocations: 0.7826 MB / 1.249 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/1.05, allocations: 66 kB / 1.249 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.05, allocations: 83.94 kB / 1.249 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.052, allocations: 0.9418 MB / 1.25 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.052, allocations: 0 / 1.25 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/1.052, allocations: 39.98 kB / 1.25 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.052, allocations: 20 kB / 1.25 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.054, allocations: 1.124 MB / 1.251 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/1.057, allocations: 2.524 MB / 1.254 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.059, allocations: 0.8993 MB / 1.255 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/1.06, allocations: 318.7 kB / 1.255 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/1.06, allocations: 28.69 kB / 1.255 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009342/1.061, allocations: 0.5252 MB / 1.256 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/1.061, allocations: 0 / 1.256 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003233/1.064, allocations: 1.248 MB / 1.257 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.064, allocations: 192.9 kB / 1.257 GB, free: 280 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/1.065, allocations: 0.6488 MB / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/1.065, allocations: 41.7 kB / 1.258 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/1.065, allocations: 401.1 kB / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.065, allocations: 289.6 kB / 1.258 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/1.066, allocations: 166.6 kB / 1.258 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.066, allocations: 386.8 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.066, allocations: 277.8 kB / 1.259 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/1.067, allocations: 375.1 kB / 1.259 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.068, allocations: 0.6242 MB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.068, allocations: 4 kB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002002/1.07, allocations: 0.8881 MB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.07, allocations: 4 kB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.07, allocations: 3.938 kB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.071, allocations: 80.86 kB / 1.261 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/1.072, allocations: 171.7 kB / 1.261 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.074, allocations: 1.626 MB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/1.075, allocations: 94.17 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.075, allocations: 39.97 kB / 1.263 GB, free: 9.984 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.0004462/1.075, allocations: 275.8 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.075, allocations: 87.44 kB / 1.263 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/1.078, allocations: 1.136 MB / 1.264 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-05/1.078, allocations: 15.94 kB / 1.264 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.078, allocations: 0 / 1.264 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.078, allocations: 7.969 kB / 1.264 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/1.082, allocations: 2.022 MB / 1.266 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.082, allocations: 0 / 1.266 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/1.082, allocations: 159.7 kB / 1.266 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/1.083, allocations: 76.72 kB / 1.267 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/1.083, allocations: 23.98 kB / 1.267 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/1.085, allocations: 1.658 MB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.085, allocations: 0 / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/1.087, allocations: 1.049 MB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/1.088, allocations: 280.2 kB / 1.269 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.088, allocations: 31.92 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/1.088, allocations: 67.98 kB / 1.27 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.089, allocations: 76.89 kB / 1.27 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/1.089, allocations: 35.98 kB / 1.27 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005857/1.089, allocations: 463 kB / 1.27 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 4 kB / 1.27 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009115/1.09, allocations: 327.1 kB / 1.27 GB, free: 1.953 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.001397/1.092, allocations: 0.6152 MB / 1.271 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001849/1.094, allocations: 0.8704 MB / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.094, allocations: 0 / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009925/1.095, allocations: 0.5353 MB / 1.272 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.096, allocations: 289.2 kB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/1.1, allocations: 1.831 MB / 1.274 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/1.101, allocations: 1.032 MB / 1.275 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008853/1.102, allocations: 278.8 kB / 1.276 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/1.102, allocations: 107.4 kB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of SimCode: time 2.875e-06/1.102, allocations: 0 / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of Templates: time 0.02639/1.128, allocations: 15.4 MB / 1.291 GB, free: 13.27 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/jenkins/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