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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001625/0.001625, allocations: 109.1 kB / 16.37 MB, free: 5.547 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.001992/0.001992, allocations: 194.5 kB / 17.3 MB, free: 5.184 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 61.58 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2736, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006605/0.2803, allocations: 4.431 MB / 0.9555 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7718/1.052, allocations: 150.6 MB / 1.102 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/1.053, allocations: 22.84 kB / 1.103 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/1.054, allocations: 171.8 kB / 1.103 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/1.056, allocations: 0.5154 MB / 1.103 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/1.058, allocations: 0.8485 MB / 1.104 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00213/1.06, allocations: 1.341 MB / 1.105 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/1.061, allocations: 0.6258 MB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/1.062, allocations: 0.4893 MB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/1.063, allocations: 0.5028 MB / 1.107 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/1.064, allocations: 118.6 kB / 1.107 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.065, allocations: 489.3 kB / 1.107 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/1.065, allocations: 305.9 kB / 1.108 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006981/1.066, allocations: 0.553 MB / 1.108 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/1.069, allocations: 1.631 MB / 1.11 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.069, allocations: 6.328 kB / 1.11 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.069, allocations: 0 / 1.11 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.848e-05/1.069, allocations: 0 / 1.11 GB, free: 4.586 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.003653/1.072, allocations: 1.44 MB / 1.111 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.072, allocations: 10.19 kB / 1.111 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.073, allocations: 194.7 kB / 1.112 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.075, allocations: 0.7722 MB / 1.112 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/1.075, allocations: 66.42 kB / 1.112 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.075, allocations: 84.08 kB / 1.112 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.077, allocations: 0.9435 MB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.077, allocations: 0 / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/1.077, allocations: 37.66 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.077, allocations: 20.44 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/1.079, allocations: 1.13 MB / 1.114 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/1.084, allocations: 2.507 MB / 1.117 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.085, allocations: 0.9035 MB / 1.118 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/1.086, allocations: 312.2 kB / 1.118 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.096e-05/1.086, allocations: 31.36 kB / 1.118 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/1.087, allocations: 0.5217 MB / 1.119 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/1.087, allocations: 0 / 1.119 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003424/1.09, allocations: 1.247 MB / 1.12 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.091, allocations: 190.5 kB / 1.12 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/1.092, allocations: 0.6459 MB / 1.121 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.092, allocations: 41.55 kB / 1.121 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/1.092, allocations: 400.8 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.092, allocations: 264.2 kB / 1.121 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/1.092, allocations: 176.2 kB / 1.122 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.093, allocations: 395.6 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/1.093, allocations: 275.4 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/1.094, allocations: 370.2 kB / 1.123 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/1.096, allocations: 0.6248 MB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.096, allocations: 1.203 kB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002309/1.098, allocations: 0.8815 MB / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.098, allocations: 5.344 kB / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.098, allocations: 1 kB / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/1.099, allocations: 85.88 kB / 1.124 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/1.099, allocations: 167.3 kB / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.101, allocations: 1.628 MB / 1.126 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.103, allocations: 97.94 kB / 1.126 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/1.103, allocations: 38.91 kB / 1.126 GB, free: 15.21 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.0005992/1.103, allocations: 269 kB / 1.126 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/1.103, allocations: 87.61 kB / 1.126 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/1.106, allocations: 1.136 MB / 1.127 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.106, allocations: 13.47 kB / 1.127 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.106, allocations: 5.219 kB / 1.127 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.106, allocations: 5.297 kB / 1.127 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.11, allocations: 2.014 MB / 1.129 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.11, allocations: 0 / 1.129 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/1.111, allocations: 161.6 kB / 1.13 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/1.111, allocations: 70.72 kB / 1.13 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/1.111, allocations: 29.94 kB / 1.13 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/1.113, allocations: 1.662 MB / 1.131 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.113, allocations: 0 / 1.131 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/1.115, allocations: 1.045 MB / 1.132 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/1.116, allocations: 286.2 kB / 1.133 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.116, allocations: 19.59 kB / 1.133 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/1.117, allocations: 70.14 kB / 1.133 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.117, allocations: 75.88 kB / 1.133 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/1.117, allocations: 36.72 kB / 1.133 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008371/1.118, allocations: 465.2 kB / 1.133 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.118, allocations: 0 / 1.133 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001365/1.119, allocations: 319.8 kB / 1.134 GB, free: 12.59 MB / 0.8731 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.001618/1.121, allocations: 0.6143 MB / 1.134 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.123, allocations: 0.8638 MB / 1.135 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.123, allocations: 1.094 kB / 1.135 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.124, allocations: 0.5438 MB / 1.135 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.126, allocations: 298.4 kB / 1.136 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/1.13, allocations: 1.786 MB / 1.138 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/1.131, allocations: 1.037 MB / 1.139 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001156/1.132, allocations: 267.8 kB / 1.139 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.133, allocations: 114.8 kB / 1.139 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.052e-06/1.133, allocations: 0 / 1.139 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.03238/1.165, allocations: 15.23 MB / 1.154 GB, free: 6.043 MB / 0.8731 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 -s cvode -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