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.001152/0.001152, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009819/0.009819, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.422/2.422, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7044, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004608/0.709, allocations: 4.015 MB / 0.959 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.887, allocations: 146.7 MB / 1.102 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.8881, allocations: 15.94 kB / 1.102 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.8888, allocations: 138.9 kB / 1.102 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.8907, allocations: 448.3 kB / 1.103 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.8926, allocations: 0.7289 MB / 1.103 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.8941, allocations: 1.253 MB / 1.105 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.895, allocations: 0.5959 MB / 1.105 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.8956, allocations: 358.2 kB / 1.106 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.896, allocations: 393.8 kB / 1.106 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.8961, allocations: 28 kB / 1.106 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.897, allocations: 375.6 kB / 1.106 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.8972, allocations: 191.1 kB / 1.107 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.8977, allocations: 470.8 kB / 1.107 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.8993, allocations: 1.491 MB / 1.108 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8993, allocations: 4 kB / 1.108 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8993, allocations: 0 / 1.108 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.8993, allocations: 0 / 1.108 GB, free: 1.613 MB / 0.8575 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.002468/0.9018, allocations: 1.237 MB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.9018, allocations: 11.97 kB / 1.11 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/0.9028, allocations: 195.4 kB / 1.11 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.9039, allocations: 0.7546 MB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.904, allocations: 62 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.9041, allocations: 87.98 kB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.9058, allocations: 0.9495 MB / 1.112 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.9059, allocations: 4 kB / 1.112 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.906, allocations: 32 kB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.906, allocations: 20 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.9079, allocations: 1.136 MB / 1.113 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.9123, allocations: 2.565 MB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.914, allocations: 0.9149 MB / 1.116 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.9147, allocations: 318.8 kB / 1.117 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.092e-05/0.9148, allocations: 28.61 kB / 1.117 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009886/0.9158, allocations: 0.5266 MB / 1.117 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.9158, allocations: 3.938 kB / 1.117 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003312/0.9191, allocations: 1.267 MB / 1.118 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9192, allocations: 192.9 kB / 1.119 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.9201, allocations: 0.641 MB / 1.119 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.9202, allocations: 49.7 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.9205, allocations: 400.4 kB / 1.12 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.9208, allocations: 272.1 kB / 1.12 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.9209, allocations: 65.69 kB / 1.12 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.921, allocations: 386.8 kB / 1.12 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.9216, allocations: 281.8 kB / 1.121 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.9222, allocations: 379.1 kB / 1.121 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9234, allocations: 0.632 MB / 1.122 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9234, allocations: 0 / 1.122 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002157/0.9256, allocations: 0.8839 MB / 1.122 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.9256, allocations: 11.98 kB / 1.122 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9257, allocations: 4.031 kB / 1.122 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.9263, allocations: 84.77 kB / 1.122 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.927, allocations: 171.8 kB / 1.123 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.9291, allocations: 1.512 MB / 1.124 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.93, allocations: 115.3 kB / 1.124 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.93, allocations: 39.97 kB / 1.124 GB, free: 0.9102 MB / 0.8731 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.0004855/0.9305, allocations: 271.9 kB / 1.125 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9307, allocations: 86.95 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.9333, allocations: 1.147 MB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9333, allocations: 8 kB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.9333, allocations: 0 / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.9333, allocations: 11.92 kB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.9368, allocations: 2.021 MB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.9369, allocations: 4 kB / 1.128 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.9375, allocations: 163.7 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/0.9381, allocations: 80.78 kB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.9381, allocations: 31.91 kB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.9401, allocations: 1.548 MB / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9401, allocations: 0 / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.9424, allocations: 1.058 MB / 1.131 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.9428, allocations: 291.6 kB / 1.131 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.943, allocations: 23.94 kB / 1.131 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.9437, allocations: 88.53 kB / 1.131 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.9439, allocations: 72.89 kB / 1.131 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/0.944, allocations: 39.97 kB / 1.131 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007066/0.9447, allocations: 467 kB / 1.131 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9447, allocations: 0 / 1.131 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001005/0.9457, allocations: 323.2 kB / 1.132 GB, free: 8.949 MB / 0.8887 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.001455/0.9472, allocations: 0.6078 MB / 1.132 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.9491, allocations: 0.8705 MB / 1.133 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9491, allocations: 4 kB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.9501, allocations: 0.5354 MB / 1.134 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.9515, allocations: 271.8 kB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.9561, allocations: 2.297 MB / 1.136 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.9568, allocations: 1.041 MB / 1.137 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009123/0.9577, allocations: 270.8 kB / 1.138 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.958, allocations: 115.4 kB / 1.138 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of SimCode: time 7.92e-07/0.958, allocations: 0 / 1.138 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of Templates: time 0.02558/0.9836, allocations: 14.46 MB / 1.152 GB, free: 4.742 MB / 0.9044 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