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.007951/0.007951, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.00121/0.00121, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.365/1.365, 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.224/2.224, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8638, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006685/0.8706, allocations: 4.414 MB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1929/1.064, allocations: 150.6 MB / 1.239 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/1.066, allocations: 15.19 kB / 1.239 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/1.067, allocations: 179.9 kB / 1.239 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/1.071, allocations: 0.5131 MB / 1.24 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00399/1.075, allocations: 0.8429 MB / 1.241 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002607/1.078, allocations: 1.342 MB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.079, allocations: 0.6291 MB / 1.243 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.08, allocations: 0.4953 MB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009995/1.081, allocations: 0.5054 MB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.081, allocations: 118.8 kB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/1.083, allocations: 485 kB / 1.244 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/1.083, allocations: 310.1 kB / 1.245 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/1.083, allocations: 0.5596 MB / 1.245 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/1.085, allocations: 1.629 MB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.085, allocations: 0 / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/1.085, allocations: 4 kB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.085, allocations: 3.984 kB / 1.247 GB, free: 11.13 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.002592/1.088, allocations: 1.451 MB / 1.248 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/1.088, allocations: 8.031 kB / 1.248 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/1.089, allocations: 187.4 kB / 1.248 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.09, allocations: 0.778 MB / 1.249 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/1.09, allocations: 66 kB / 1.249 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.09, allocations: 80 kB / 1.249 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.092, allocations: 0.9418 MB / 1.25 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.092, allocations: 0 / 1.25 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/1.092, allocations: 36 kB / 1.25 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.092, allocations: 24 kB / 1.25 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/1.093, allocations: 1.124 MB / 1.251 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/1.097, allocations: 2.508 MB / 1.254 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.099, allocations: 0.9043 MB / 1.255 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/1.1, allocations: 310.7 kB / 1.255 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/1.1, allocations: 36.67 kB / 1.255 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/1.101, allocations: 0.5236 MB / 1.255 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/1.101, allocations: 0 / 1.255 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003234/1.104, allocations: 1.243 MB / 1.257 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.104, allocations: 192.9 kB / 1.257 GB, free: 428 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008504/1.105, allocations: 0.641 MB / 1.257 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/1.105, allocations: 45.7 kB / 1.258 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/1.105, allocations: 400.4 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.105, allocations: 268.1 kB / 1.258 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/1.106, allocations: 170.5 kB / 1.258 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.106, allocations: 390.8 kB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/1.106, allocations: 273.8 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/1.107, allocations: 379 kB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.108, allocations: 0.6204 MB / 1.26 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.108, allocations: 0 / 1.26 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002016/1.11, allocations: 0.8761 MB / 1.261 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.11, allocations: 8 kB / 1.261 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.11, allocations: 3.938 kB / 1.261 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.111, allocations: 84.92 kB / 1.261 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/1.112, allocations: 171.7 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.114, allocations: 1.626 MB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/1.115, allocations: 101 kB / 1.263 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/1.115, allocations: 39.97 kB / 1.263 GB, free: 10.15 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.0004916/1.115, allocations: 278.1 kB / 1.263 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.115, allocations: 86.95 kB / 1.263 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/1.118, allocations: 1.128 MB / 1.264 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.118, allocations: 11.94 kB / 1.264 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.118, allocations: 0 / 1.264 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/1.118, allocations: 7.984 kB / 1.264 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/1.121, allocations: 2.022 MB / 1.266 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.121, allocations: 0 / 1.266 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/1.122, allocations: 151.8 kB / 1.266 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/1.122, allocations: 76.72 kB / 1.266 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/1.122, allocations: 35.97 kB / 1.266 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.124, allocations: 1.646 MB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.124, allocations: 11.98 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/1.126, allocations: 1.045 MB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/1.127, allocations: 275.7 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.127, allocations: 20 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.128, allocations: 68.05 kB / 1.269 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.128, allocations: 84.83 kB / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/1.128, allocations: 39.97 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005776/1.129, allocations: 463 kB / 1.27 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 1.27 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009088/1.13, allocations: 323.2 kB / 1.27 GB, free: 2.141 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.001474/1.131, allocations: 0.6043 MB / 1.271 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.133, allocations: 0.8663 MB / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.133, allocations: 0 / 1.272 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/1.134, allocations: 0.5472 MB / 1.272 GB, free: 276 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.135, allocations: 297.3 kB / 1.273 GB, free: 4 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/1.139, allocations: 1.791 MB / 1.274 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/1.14, allocations: 1.028 MB / 1.275 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009078/1.141, allocations: 274.8 kB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.141, allocations: 111.4 kB / 1.276 GB, free: 12.75 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.141, allocations: 4 kB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of Templates: time 0.02955/1.171, allocations: 15.7 MB / 1.291 GB, free: 13.2 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