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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001601/0.001601, allocations: 103 kB / 16.36 MB, free: 6.336 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.001785/0.001785, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 69.3 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2854, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007772/0.2933, allocations: 6.967 MB / 1.026 GB, free: 2.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6414/0.9347, allocations: 151.3 MB / 1.173 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.9356, allocations: 21.91 kB / 1.173 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.9363, allocations: 261.3 kB / 1.174 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.9384, allocations: 0.7904 MB / 1.174 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.9404, allocations: 0.9992 MB / 1.175 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002112/0.9425, allocations: 2.141 MB / 1.177 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.9438, allocations: 1.026 MB / 1.178 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.9449, allocations: 0.8346 MB / 1.179 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.946, allocations: 0.8987 MB / 1.18 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.9462, allocations: 207.9 kB / 1.18 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.9473, allocations: 0.565 MB / 1.181 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.9477, allocations: 487.2 kB / 1.181 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008178/0.9485, allocations: 0.9542 MB / 1.182 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.9509, allocations: 2.567 MB / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9509, allocations: 0 / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9509, allocations: 0 / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.9509, allocations: 3.75 kB / 1.185 GB, free: 6.918 MB / 0.8887 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.003747/0.9547, allocations: 2.062 MB / 1.187 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.9547, allocations: 12.88 kB / 1.187 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.9557, allocations: 258.6 kB / 1.187 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.9572, allocations: 0.9886 MB / 1.188 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.9573, allocations: 121.5 kB / 1.188 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.9575, allocations: 148.7 kB / 1.188 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.9599, allocations: 1.586 MB / 1.19 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.9599, allocations: 0 / 1.19 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.9601, allocations: 62.66 kB / 1.19 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.9601, allocations: 38.06 kB / 1.19 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.9626, allocations: 1.639 MB / 1.191 GB, free: 2.488 MB / 0.8887 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.006495/0.9691, allocations: 4.519 MB / 1.196 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.9711, allocations: 1.187 MB / 1.197 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.9719, allocations: 481.6 kB / 1.198 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.9721, allocations: 52.88 kB / 1.198 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.9733, allocations: 0.7893 MB / 1.198 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=128): time 2.565e-06/0.9733, allocations: 0 / 1.198 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=128): time 0.00421/0.9775, allocations: 1.84 MB / 1.2 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.9776, allocations: 194.2 kB / 1.2 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.9787, allocations: 0.87 MB / 1.201 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.9788, allocations: 53.67 kB / 1.201 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.9792, allocations: 0.5975 MB / 1.202 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.9795, allocations: 420.8 kB / 1.202 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.9799, allocations: 256 kB / 1.202 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.98, allocations: 352.2 kB / 1.203 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.9808, allocations: 455.4 kB / 1.203 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.9817, allocations: 0.5609 MB / 1.204 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.9834, allocations: 0.9908 MB / 1.205 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9834, allocations: 0 / 1.205 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002727/0.9862, allocations: 1.347 MB / 1.206 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9862, allocations: 10.91 kB / 1.206 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9862, allocations: 0 / 1.206 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.9868, allocations: 80.78 kB / 1.206 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.988, allocations: 271.6 kB / 1.206 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.99, allocations: 1.647 MB / 1.208 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.9912, allocations: 143 kB / 1.208 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.9914, allocations: 59.94 kB / 1.208 GB, free: 6.184 MB / 0.9044 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.0005938/0.992, allocations: 353.5 kB / 1.209 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.9922, allocations: 118.5 kB / 1.209 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.9958, allocations: 1.702 MB / 1.21 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9958, allocations: 12 kB / 1.21 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9958, allocations: 4 kB / 1.21 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.9959, allocations: 7.969 kB / 1.21 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.9975, allocations: 1.412 MB / 1.212 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9975, allocations: 0 / 1.212 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.9984, allocations: 219.6 kB / 1.212 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.9989, allocations: 72.78 kB / 1.212 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.999, allocations: 39.97 kB / 1.212 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/1.001, allocations: 1.674 MB / 1.214 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.001, allocations: 3.938 kB / 1.214 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/1.004, allocations: 1.406 MB / 1.215 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/1.004, allocations: 375 kB / 1.215 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.004, allocations: 39.84 kB / 1.215 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/1.005, allocations: 87.91 kB / 1.216 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.006, allocations: 113.1 kB / 1.216 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.006, allocations: 51.97 kB / 1.216 GB, free: 14.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008024/1.006, allocations: 0.6425 MB / 1.216 GB, free: 13.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.21e-07/1.006, allocations: 4 kB / 1.216 GB, free: 13.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001194/1.008, allocations: 494.6 kB / 1.217 GB, free: 13.11 MB / 0.92 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.001353/1.009, allocations: 0.6198 MB / 1.217 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002379/1.011, allocations: 1.283 MB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.011, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.013, allocations: 0.7441 MB / 1.219 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.014, allocations: 351 kB / 1.22 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/1.018, allocations: 2.543 MB / 1.222 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.019, allocations: 1.232 MB / 1.223 GB, free: 6.465 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009968/1.02, allocations: 342.1 kB / 1.224 GB, free: 6.129 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/1.02, allocations: 163.3 kB / 1.224 GB, free: 5.969 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/1.02, allocations: 0 / 1.224 GB, free: 5.969 MB / 0.92 GB Notification: Performance of Templates: time 0.03326/1.053, allocations: 21.7 MB / 1.245 GB, free: 480 kB / 0.9356 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches