Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001687, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001628/0.001628, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.15 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.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.118, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006195/1.125, allocations: 4.301 MB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2262/1.351, allocations: 150.6 MB / 1.24 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/1.352, allocations: 20.41 kB / 1.24 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/1.354, allocations: 171.9 kB / 1.24 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/1.356, allocations: 0.5001 MB / 1.24 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/1.359, allocations: 0.8392 MB / 1.241 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00234/1.362, allocations: 1.304 MB / 1.243 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.363, allocations: 0.6237 MB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/1.364, allocations: 480.2 kB / 1.244 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/1.365, allocations: 497.2 kB / 1.244 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004547/1.366, allocations: 116.8 kB / 1.244 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/1.367, allocations: 488.7 kB / 1.245 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005522/1.368, allocations: 298.2 kB / 1.245 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.369, allocations: 0.5391 MB / 1.246 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/1.372, allocations: 1.614 MB / 1.247 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.372, allocations: 0 / 1.247 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/1.372, allocations: 4 kB / 1.247 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.241e-05/1.372, allocations: 0 / 1.247 GB, free: 11.45 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003551/1.375, allocations: 1.399 MB / 1.248 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.376, allocations: 12.03 kB / 1.248 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.377, allocations: 191.4 kB / 1.249 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.378, allocations: 0.7578 MB / 1.249 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/1.378, allocations: 62 kB / 1.249 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.378, allocations: 80 kB / 1.25 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.38, allocations: 0.93 MB / 1.25 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.38, allocations: 4 kB / 1.25 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/1.38, allocations: 32 kB / 1.25 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.38, allocations: 20 kB / 1.25 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/1.382, allocations: 1.108 MB / 1.252 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/1.385, allocations: 2.488 MB / 1.254 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/1.387, allocations: 0.8926 MB / 1.255 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/1.387, allocations: 306.7 kB / 1.255 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/1.387, allocations: 32.61 kB / 1.255 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008365/1.388, allocations: 495.1 kB / 1.256 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.274e-06/1.388, allocations: 0 / 1.256 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002931/1.391, allocations: 1.186 MB / 1.257 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.391, allocations: 192.6 kB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007571/1.392, allocations: 0.6253 MB / 1.258 GB, free: 348 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/1.392, allocations: 45.7 kB / 1.258 GB, free: 296 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/1.393, allocations: 396.2 kB / 1.258 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/1.393, allocations: 260.3 kB / 1.258 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.393, allocations: 158.5 kB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.393, allocations: 390.7 kB / 1.259 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/1.394, allocations: 265.8 kB / 1.259 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/1.395, allocations: 363.1 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.396, allocations: 0.6111 MB / 1.26 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.396, allocations: 3.938 kB / 1.26 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001858/1.397, allocations: 0.8488 MB / 1.261 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.398, allocations: 4 kB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.398, allocations: 0 / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/1.398, allocations: 88.75 kB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/1.399, allocations: 163.8 kB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.401, allocations: 1.636 MB / 1.263 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/1.402, allocations: 90.12 kB / 1.263 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/1.402, allocations: 35.98 kB / 1.263 GB, free: 10.81 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004042/1.402, allocations: 280.2 kB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.402, allocations: 75.06 kB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/1.405, allocations: 1.061 MB / 1.264 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.405, allocations: 8 kB / 1.264 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.405, allocations: 7.938 kB / 1.264 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.405, allocations: 7.969 kB / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/1.408, allocations: 1.943 MB / 1.266 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.408, allocations: 0 / 1.266 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/1.408, allocations: 139.8 kB / 1.266 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/1.409, allocations: 84.77 kB / 1.266 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/1.409, allocations: 19.98 kB / 1.266 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.411, allocations: 1.67 MB / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.411, allocations: 0 / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/1.413, allocations: 0.998 MB / 1.269 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/1.413, allocations: 267.7 kB / 1.269 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.413, allocations: 28.05 kB / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/1.414, allocations: 59.94 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.414, allocations: 72.91 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/1.414, allocations: 31.97 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005842/1.415, allocations: 455 kB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.415, allocations: 0 / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009145/1.416, allocations: 311.2 kB / 1.27 GB, free: 3.055 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001479/1.417, allocations: 0.6113 MB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.419, allocations: 0.8236 MB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.419, allocations: 8 kB / 1.272 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/1.42, allocations: 0.5159 MB / 1.272 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.421, allocations: 297.4 kB / 1.272 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/1.425, allocations: 1.773 MB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/1.426, allocations: 1.023 MB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/1.426, allocations: 111.4 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.426, allocations: 0 / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of Templates: time 0.02704/1.453, allocations: 18.44 MB / 1.293 GB, free: 11.62 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches