Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.358/2.358, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002359, allocations: 67.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6491, allocations: 140.4 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006072/0.6552, allocations: 4.495 MB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.8251, allocations: 150.7 MB / 1.101 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.8262, allocations: 15.94 kB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008018/0.827, allocations: 182.3 kB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.8293, allocations: 0.5219 MB / 1.102 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.8315, allocations: 0.8714 MB / 1.103 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.8332, allocations: 1.382 MB / 1.104 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.8342, allocations: 0.6293 MB / 1.105 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007651/0.835, allocations: 0.506 MB / 1.105 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.8357, allocations: 0.525 MB / 1.106 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.8359, allocations: 123.9 kB / 1.106 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.837, allocations: 491.6 kB / 1.106 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.8373, allocations: 307 kB / 1.107 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005556/0.8379, allocations: 0.5714 MB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.84, allocations: 1.659 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.84, allocations: 0 / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.522e-06/0.84, allocations: 0 / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.84, allocations: 0 / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002711/0.8427, allocations: 1.483 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8428, allocations: 8.031 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.8437, allocations: 195.3 kB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.8448, allocations: 0.7623 MB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.8448, allocations: 66 kB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8449, allocations: 84 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.8466, allocations: 0.9808 MB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.8466, allocations: 3.938 kB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.8467, allocations: 40 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.8468, allocations: 23.98 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.8486, allocations: 1.159 MB / 1.113 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.8529, allocations: 2.706 MB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.8549, allocations: 0.9693 MB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.8555, allocations: 334.7 kB / 1.117 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/0.8556, allocations: 36.59 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009612/0.8566, allocations: 0.5412 MB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.715e-06/0.8566, allocations: 0 / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003221/0.8598, allocations: 1.286 MB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8599, allocations: 192.9 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.8607, allocations: 0.649 MB / 1.12 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.8608, allocations: 41.7 kB / 1.12 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.8612, allocations: 408.4 kB / 1.12 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.8614, allocations: 291.9 kB / 1.121 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.8616, allocations: 178.4 kB / 1.121 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.8618, allocations: 390.8 kB / 1.121 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/0.8624, allocations: 289.8 kB / 1.121 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.8631, allocations: 387.1 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.8643, allocations: 0.6594 MB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8643, allocations: 0 / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002126/0.8664, allocations: 0.9112 MB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8665, allocations: 5.5 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8665, allocations: 8 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.8671, allocations: 88.7 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.8678, allocations: 171.8 kB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.8699, allocations: 1.636 MB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.8707, allocations: 103.2 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.8708, allocations: 39.97 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.000445/0.8713, allocations: 276 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.8714, allocations: 86.95 kB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.874, allocations: 1.195 MB / 1.127 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.874, allocations: 15.98 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.874, allocations: 4 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.874, allocations: 3.984 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.8775, allocations: 2.106 MB / 1.129 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8775, allocations: 0 / 1.129 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.8781, allocations: 167.7 kB / 1.129 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.8786, allocations: 68.8 kB / 1.129 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.8787, allocations: 35.97 kB / 1.129 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.8806, allocations: 1.658 MB / 1.131 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8806, allocations: 64 / 1.131 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.8828, allocations: 1.086 MB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.8832, allocations: 287.6 kB / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.8833, allocations: 24 kB / 1.132 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.884, allocations: 71.92 kB / 1.132 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.8842, allocations: 84.81 kB / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.8843, allocations: 39.97 kB / 1.132 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005574/0.8849, allocations: 479 kB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8849, allocations: 3.938 kB / 1.133 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008767/0.8858, allocations: 339.2 kB / 1.133 GB, free: 4.469 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 (106): * Single equations (assignments): 99 * 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.001355/0.8871, allocations: 0.6167 MB / 1.134 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002617/0.8898, allocations: 1.144 MB / 1.135 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8898, allocations: 0 / 1.135 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000989/0.8908, allocations: 0.5588 MB / 1.135 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.892, allocations: 295.2 kB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.8958, allocations: 1.877 MB / 1.138 GB, free: 124 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.8964, allocations: 1.044 MB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000858/0.8973, allocations: 282.9 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.8976, allocations: 123.4 kB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of SimCode: time 1.783e-06/0.8976, allocations: 0 / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.02603/0.9236, allocations: 15.73 MB / 1.154 GB, free: 15.08 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches