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.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.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.001041/0.001041, allocations: 103.5 kB / 16.35 MB, free: 6.289 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.001092/0.001092, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 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.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.41 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.242, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006284/0.2484, allocations: 4.512 MB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6709/0.9193, allocations: 150.7 MB / 1.103 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.9202, allocations: 18.59 kB / 1.103 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.9208, allocations: 177.1 kB / 1.103 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.9227, allocations: 0.5233 MB / 1.103 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.9249, allocations: 0.875 MB / 1.104 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.9266, allocations: 1.389 MB / 1.106 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009942/0.9276, allocations: 0.6443 MB / 1.106 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.9285, allocations: 0.4985 MB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.9293, allocations: 0.5304 MB / 1.107 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.9295, allocations: 121.7 kB / 1.107 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.9308, allocations: 0.5038 MB / 1.108 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.9311, allocations: 310.2 kB / 1.108 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.9318, allocations: 0.5715 MB / 1.109 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.9343, allocations: 1.692 MB / 1.11 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9343, allocations: 0.5 kB / 1.11 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9344, allocations: 0.5 kB / 1.11 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.9344, allocations: 4 kB / 1.11 GB, free: 4.492 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003297/0.9377, allocations: 1.487 MB / 1.112 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9377, allocations: 9.406 kB / 1.112 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009662/0.9387, allocations: 191.8 kB / 1.112 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.94, allocations: 0.7877 MB / 1.113 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.9401, allocations: 66.16 kB / 1.113 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.9402, allocations: 85.66 kB / 1.113 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.9419, allocations: 0.9774 MB / 1.114 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.942, allocations: 1.406 kB / 1.114 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.9421, allocations: 36.3 kB / 1.114 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.9421, allocations: 22.56 kB / 1.114 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.9442, allocations: 1.16 MB / 1.115 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.9489, allocations: 2.667 MB / 1.118 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.9511, allocations: 0.9791 MB / 1.119 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.9517, allocations: 331.1 kB / 1.119 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.9518, allocations: 32.39 kB / 1.119 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.9528, allocations: 0.5453 MB / 1.119 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.534e-06/0.9528, allocations: 0 / 1.119 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.00342/0.9562, allocations: 1.29 MB / 1.121 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.9564, allocations: 196.2 kB / 1.121 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.9573, allocations: 0.6476 MB / 1.122 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.9574, allocations: 41.92 kB / 1.122 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.9578, allocations: 408.5 kB / 1.122 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.958, allocations: 292.1 kB / 1.122 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.9583, allocations: 178.2 kB / 1.122 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9585, allocations: 391.3 kB / 1.123 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.959, allocations: 286.9 kB / 1.123 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.9598, allocations: 392.4 kB / 1.123 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9609, allocations: 0.6546 MB / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9609, allocations: 0 / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002022/0.9629, allocations: 0.9133 MB / 1.125 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.963, allocations: 5.781 kB / 1.125 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.963, allocations: 5.453 kB / 1.125 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.9636, allocations: 80.88 kB / 1.125 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.9643, allocations: 178.4 kB / 1.125 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.9663, allocations: 1.627 MB / 1.127 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.9672, allocations: 114.6 kB / 1.127 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.9673, allocations: 41.25 kB / 1.127 GB, free: 15.07 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: 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.0004735/0.9678, allocations: 275.7 kB / 1.127 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.9679, allocations: 88.5 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.9705, allocations: 1.191 MB / 1.128 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.9705, allocations: 9.906 kB / 1.128 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.9706, allocations: 2.594 kB / 1.128 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9706, allocations: 4.594 kB / 1.128 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.974, allocations: 2.101 MB / 1.131 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.974, allocations: 0.7812 kB / 1.131 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.9747, allocations: 175.8 kB / 1.131 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.9752, allocations: 69.86 kB / 1.131 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.9752, allocations: 29.27 kB / 1.131 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9771, allocations: 1.654 MB / 1.132 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9771, allocations: 2.109 kB / 1.132 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.9794, allocations: 1.095 MB / 1.133 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.9799, allocations: 291.7 kB / 1.134 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9801, allocations: 26.47 kB / 1.134 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.9808, allocations: 64.83 kB / 1.134 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.9809, allocations: 82.2 kB / 1.134 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/0.981, allocations: 42.83 kB / 1.134 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006115/0.9816, allocations: 479.5 kB / 1.134 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9816, allocations: 1.203 kB / 1.134 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001209/0.9829, allocations: 343.5 kB / 1.135 GB, free: 12.42 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 (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.001388/0.9843, allocations: 0.62 MB / 1.135 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.9861, allocations: 0.9011 MB / 1.136 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9861, allocations: 1.125 kB / 1.136 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.9871, allocations: 0.5692 MB / 1.137 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.9882, allocations: 281 kB / 1.137 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.9921, allocations: 1.854 MB / 1.139 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.9927, allocations: 1.05 MB / 1.14 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008343/0.9935, allocations: 275 kB / 1.14 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.9938, allocations: 119 kB / 1.14 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.9939, allocations: 0 / 1.14 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.02665/1.021, allocations: 15.73 MB / 1.156 GB, free: 5.367 MB / 0.8731 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 -s gbode -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/jenkins1/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