Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007405/0.007405, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001688/0.001688, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.455/2.455, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.31 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2419, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006894/0.2488, allocations: 5.456 MB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.4098, allocations: 151.1 MB / 1.241 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.4109, allocations: 23.88 kB / 1.241 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.4118, allocations: 205.9 kB / 1.241 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.4142, allocations: 0.6816 MB / 1.242 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.4166, allocations: 0.9737 MB / 1.243 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.419, allocations: 1.896 MB / 1.244 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.4206, allocations: 1.08 MB / 1.246 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.4219, allocations: 0.794 MB / 1.246 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.4231, allocations: 0.8712 MB / 1.247 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.4236, allocations: 208 kB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4247, allocations: 0.566 MB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004154/0.4252, allocations: 486.4 kB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007986/0.426, allocations: 0.9056 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.4285, allocations: 2.484 MB / 1.252 GB, free: 9.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4285, allocations: 4 kB / 1.252 GB, free: 9.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4285, allocations: 3.938 kB / 1.252 GB, free: 9.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.4285, allocations: 0 / 1.252 GB, free: 9.066 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004071/0.4326, allocations: 2.015 MB / 1.254 GB, free: 6.988 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4327, allocations: 8.031 kB / 1.254 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4338, allocations: 254.6 kB / 1.254 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.4353, allocations: 0.9927 MB / 1.255 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4354, allocations: 115.1 kB / 1.255 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.4357, allocations: 152 kB / 1.255 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.4384, allocations: 1.58 MB / 1.257 GB, free: 3.797 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.4384, allocations: 0 / 1.257 GB, free: 3.797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4385, allocations: 64 kB / 1.257 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.4386, allocations: 36 kB / 1.257 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.4413, allocations: 1.639 MB / 1.258 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5581/0.9993, allocations: 4.08 MB / 1.262 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/1.002, allocations: 1.185 MB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008807/1.003, allocations: 477.6 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.003, allocations: 49.23 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/1.004, allocations: 0.7802 MB / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=128): time 3.456e-06/1.004, allocations: 0 / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=128): time 0.004775/1.009, allocations: 1.835 MB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.009, allocations: 200.2 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.01, allocations: 0.8717 MB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.01, allocations: 55.11 kB / 1.268 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/1.011, allocations: 0.6015 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/1.011, allocations: 409.5 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004038/1.012, allocations: 258 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/1.012, allocations: 353.5 kB / 1.269 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/1.013, allocations: 447.2 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.014, allocations: 0.5595 MB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.016, allocations: 0.984 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.016, allocations: 0.5625 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003394/1.019, allocations: 1.336 MB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.019, allocations: 5.531 kB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.019, allocations: 5.141 kB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/1.02, allocations: 82.73 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.021, allocations: 265.4 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/1.023, allocations: 1.654 MB / 1.274 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.024, allocations: 147 kB / 1.275 GB, free: 165.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.024, allocations: 56.19 kB / 1.275 GB, free: 165.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0006225/1.025, allocations: 355 kB / 1.275 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/1.025, allocations: 117 kB / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/1.029, allocations: 1.709 MB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.029, allocations: 15.03 kB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.029, allocations: 0.7969 kB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.029, allocations: 6.844 kB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.031, allocations: 1.393 MB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.031, allocations: 4.953 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.032, allocations: 219.2 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/1.032, allocations: 73.8 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/1.032, allocations: 41.05 kB / 1.278 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/1.034, allocations: 1.681 MB / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.034, allocations: 4.75 kB / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/1.037, allocations: 1.41 MB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/1.037, allocations: 372.5 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.038, allocations: 39.89 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/1.039, allocations: 88.59 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.039, allocations: 110.4 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.039, allocations: 56.97 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001018/1.04, allocations: 0.6444 MB / 1.283 GB, free: 161.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.04, allocations: 0 / 1.283 GB, free: 161.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001222/1.041, allocations: 458.8 kB / 1.283 GB, free: 161.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001311/1.043, allocations: 0.6279 MB / 1.284 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002469/1.045, allocations: 1.272 MB / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.045, allocations: 1.062 kB / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.046, allocations: 0.7396 MB / 1.286 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.048, allocations: 328.4 kB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/1.053, allocations: 2.649 MB / 1.289 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/1.053, allocations: 1.237 MB / 1.29 GB, free: 157.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001188/1.055, allocations: 325.7 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/1.055, allocations: 160.8 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.055, allocations: 0 / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of Templates: time 0.03426/1.089, allocations: 21.01 MB / 1.311 GB, free: 148.7 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches