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.001704/0.001704, 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.001926/0.001926, allocations: 191.8 kB / 16.14 MB, free: 6.629 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.544/1.544, 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.784/2.784, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.586, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009455/0.5955, allocations: 6.928 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1822/0.7777, allocations: 149 MB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.7794, allocations: 27.81 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.7807, allocations: 186.5 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.7836, allocations: 0.699 MB / 1.17 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.7861, allocations: 0.8657 MB / 1.171 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.7891, allocations: 2 MB / 1.173 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.791, allocations: 0.9829 MB / 1.173 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.7923, allocations: 0.7353 MB / 1.174 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.7937, allocations: 0.8461 MB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.7941, allocations: 112 kB / 1.175 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.7954, allocations: 459.5 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.796, allocations: 402.4 kB / 1.176 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.7973, allocations: 0.8626 MB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.8003, allocations: 2.434 MB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8003, allocations: 4 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8003, allocations: 0 / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.703e-05/0.8004, allocations: 0 / 1.179 GB, free: 11.66 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.005036/0.8054, allocations: 2.062 MB / 1.181 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8055, allocations: 11.98 kB / 1.181 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.8067, allocations: 250.6 kB / 1.181 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.8082, allocations: 0.9732 MB / 1.182 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.8084, allocations: 119.1 kB / 1.183 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.8086, allocations: 148 kB / 1.183 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.8116, allocations: 1.58 MB / 1.184 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.8116, allocations: 0 / 1.184 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.8118, allocations: 71.98 kB / 1.184 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.8118, allocations: 40 kB / 1.184 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.8147, allocations: 1.631 MB / 1.186 GB, free: 4.617 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.007647/0.8224, allocations: 4.578 MB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.8247, allocations: 1.184 MB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/0.8256, allocations: 483.7 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.8258, allocations: 48.91 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.8273, allocations: 0.786 MB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.695e-06/0.8273, allocations: 0 / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004764/0.8321, allocations: 1.846 MB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8322, allocations: 197.2 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.8335, allocations: 0.8693 MB / 1.196 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.8336, allocations: 49.7 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.8342, allocations: 0.6014 MB / 1.196 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.8346, allocations: 410.1 kB / 1.197 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.835, allocations: 262.6 kB / 1.197 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8352, allocations: 353.9 kB / 1.197 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009356/0.8362, allocations: 450.4 kB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.8373, allocations: 0.5649 MB / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.8392, allocations: 0.9857 MB / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8392, allocations: 0 / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003119/0.8423, allocations: 1.348 MB / 1.201 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8424, allocations: 4 kB / 1.201 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8424, allocations: 0 / 1.201 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.843, allocations: 88.83 kB / 1.201 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.8443, allocations: 267.6 kB / 1.201 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.8468, allocations: 1.54 MB / 1.202 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8481, allocations: 163 kB / 1.203 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.8482, allocations: 59.89 kB / 1.203 GB, free: 3.016 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.0007191/0.849, allocations: 345.5 kB / 1.203 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.8493, allocations: 122.5 kB / 1.203 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.8533, allocations: 1.713 MB / 1.205 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.8534, allocations: 12 kB / 1.205 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8534, allocations: 0 / 1.205 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.8534, allocations: 15.95 kB / 1.205 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.8555, allocations: 1.4 MB / 1.206 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8555, allocations: 0 / 1.206 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.8565, allocations: 219.6 kB / 1.206 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.857, allocations: 92.72 kB / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.8571, allocations: 43.95 kB / 1.206 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.8592, allocations: 1.552 MB / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8592, allocations: 4.062 kB / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.8624, allocations: 1.406 MB / 1.209 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/0.863, allocations: 371 kB / 1.21 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.8633, allocations: 39.84 kB / 1.21 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.8643, allocations: 95.89 kB / 1.21 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.8645, allocations: 117.1 kB / 1.21 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.8647, allocations: 51.97 kB / 1.21 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009676/0.8656, allocations: 0.6425 MB / 1.211 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8656, allocations: 3.938 kB / 1.211 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001234/0.8669, allocations: 494.6 kB / 1.211 GB, free: 10.05 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.002025/0.8689, allocations: 0.6322 MB / 1.212 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002733/0.8717, allocations: 1.259 MB / 1.213 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8717, allocations: 4.062 kB / 1.213 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.8732, allocations: 0.74 MB / 1.214 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.8749, allocations: 326.1 kB / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.8803, allocations: 3.265 MB / 1.217 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00096/0.8813, allocations: 1.241 MB / 1.218 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001259/0.8826, allocations: 326.2 kB / 1.219 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.8831, allocations: 155.3 kB / 1.219 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of SimCode: time 7.72e-07/0.8831, allocations: 7.938 kB / 1.219 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of Templates: time 0.04139/0.9245, allocations: 20.71 MB / 1.239 GB, free: 13.68 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=400 -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