Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001548/0.001548, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 196 kB / 16.14 MB, free: 6.648 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5828, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007702/0.5905, allocations: 6.924 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.7414, allocations: 148.9 MB / 1.169 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.7424, allocations: 23.88 kB / 1.169 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.7432, allocations: 198.3 kB / 1.169 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.7452, allocations: 0.6913 MB / 1.17 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.7472, allocations: 0.8647 MB / 1.171 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.7494, allocations: 2.004 MB / 1.172 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.7507, allocations: 0.9868 MB / 1.173 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.7518, allocations: 0.7276 MB / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008453/0.7527, allocations: 0.8633 MB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.7529, allocations: 112 kB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.7538, allocations: 459.6 kB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.7542, allocations: 382.5 kB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.7549, allocations: 0.8704 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.7572, allocations: 2.434 MB / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7572, allocations: 0 / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7572, allocations: 0 / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.71e-05/0.7573, allocations: 0 / 1.179 GB, free: 11.61 MB / 0.9356 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.003987/0.7612, allocations: 2.058 MB / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.7613, allocations: 15.98 kB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7624, allocations: 258.6 kB / 1.181 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.7638, allocations: 0.9732 MB / 1.182 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.7639, allocations: 115.1 kB / 1.182 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.7641, allocations: 144 kB / 1.183 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.7668, allocations: 1.584 MB / 1.184 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7668, allocations: 0 / 1.184 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.767, allocations: 64 kB / 1.184 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.767, allocations: 36 kB / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.7698, allocations: 1.639 MB / 1.186 GB, free: 4.574 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007355/0.7772, allocations: 4.586 MB / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.7793, allocations: 1.186 MB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.7801, allocations: 475.7 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.7802, allocations: 49.08 kB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.7816, allocations: 0.7822 MB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.735e-06/0.7816, allocations: 0 / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004407/0.786, allocations: 1.846 MB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.7862, allocations: 197.2 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.7874, allocations: 0.8692 MB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.7875, allocations: 53.7 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.788, allocations: 0.6014 MB / 1.196 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.7883, allocations: 418.1 kB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.7887, allocations: 254.7 kB / 1.197 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7889, allocations: 349.9 kB / 1.197 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008598/0.7897, allocations: 450.4 kB / 1.198 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.7907, allocations: 0.5687 MB / 1.198 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.7925, allocations: 0.9896 MB / 1.199 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7926, allocations: 0 / 1.199 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002987/0.7955, allocations: 1.34 MB / 1.2 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.7956, allocations: 12.03 kB / 1.2 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7956, allocations: 4 kB / 1.2 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.7962, allocations: 76.78 kB / 1.201 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7974, allocations: 271.7 kB / 1.201 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.7994, allocations: 1.543 MB / 1.202 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8007, allocations: 158.8 kB / 1.202 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8008, allocations: 59.95 kB / 1.203 GB, free: 2.969 MB / 0.9512 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.0006294/0.8014, allocations: 354.1 kB / 1.203 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.8017, allocations: 118.5 kB / 1.203 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.8053, allocations: 1.717 MB / 1.205 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8054, allocations: 12 kB / 1.205 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8054, allocations: 4 kB / 1.205 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.8054, allocations: 3.984 kB / 1.205 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.8071, allocations: 1.4 MB / 1.206 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8071, allocations: 0 / 1.206 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009302/0.808, allocations: 215.6 kB / 1.206 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.8086, allocations: 92.7 kB / 1.206 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.8087, allocations: 39.97 kB / 1.206 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.8105, allocations: 1.552 MB / 1.208 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8105, allocations: 0 / 1.208 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.8134, allocations: 1.41 MB / 1.209 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.814, allocations: 375 kB / 1.21 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.8142, allocations: 39.91 kB / 1.21 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.8151, allocations: 98.23 kB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.8154, allocations: 113.2 kB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8155, allocations: 63.88 kB / 1.21 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008542/0.8164, allocations: 0.6464 MB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8164, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001167/0.8175, allocations: 490.6 kB / 1.211 GB, free: 10 MB / 0.9669 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.001444/0.819, allocations: 0.6153 MB / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.8214, allocations: 1.267 MB / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8215, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8227, allocations: 0.7518 MB / 1.214 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8241, allocations: 327.2 kB / 1.214 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.8286, allocations: 3.265 MB / 1.217 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.8294, allocations: 1.237 MB / 1.218 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001103/0.8305, allocations: 326.2 kB / 1.219 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.8309, allocations: 159.3 kB / 1.219 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.8309, allocations: 0 / 1.219 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.0348/0.8657, allocations: 20.72 MB / 1.239 GB, free: 13.64 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches