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.001342/0.001342, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001286/0.001286, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.53/2.53, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 62.34 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009605/0.3247, allocations: 6.924 MB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.724/1.049, allocations: 149 MB / 1.17 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/1.051, allocations: 22.47 kB / 1.17 GB, free: 484 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/1.052, allocations: 193.9 kB / 1.17 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/1.055, allocations: 0.7028 MB / 1.171 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/1.058, allocations: 0.8979 MB / 1.172 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003422/1.061, allocations: 2.128 MB / 1.174 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/1.063, allocations: 1.016 MB / 1.175 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/1.065, allocations: 0.8404 MB / 1.175 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/1.066, allocations: 0.912 MB / 1.176 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003851/1.067, allocations: 205.8 kB / 1.177 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/1.068, allocations: 0.5356 MB / 1.177 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/1.069, allocations: 493.9 kB / 1.178 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.07, allocations: 0.9549 MB / 1.178 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/1.073, allocations: 1.935 MB / 1.18 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.073, allocations: 0 / 1.18 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.415e-06/1.073, allocations: 0 / 1.18 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.636e-05/1.073, allocations: 4 kB / 1.18 GB, free: 10.54 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.005419/1.078, allocations: 2.06 MB / 1.182 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.078, allocations: 15.12 kB / 1.182 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.08, allocations: 255 kB / 1.183 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/1.082, allocations: 0.97 MB / 1.184 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/1.082, allocations: 118.8 kB / 1.184 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.082, allocations: 147.4 kB / 1.184 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/1.085, allocations: 1.579 MB / 1.185 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/1.085, allocations: 4 kB / 1.185 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/1.085, allocations: 66.2 kB / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.085, allocations: 42.41 kB / 1.185 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.088, allocations: 1.634 MB / 1.187 GB, free: 6.121 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.008717/1.097, allocations: 4.566 MB / 1.192 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/1.099, allocations: 1.197 MB / 1.193 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/1.1, allocations: 477.1 kB / 1.193 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.1, allocations: 52.47 kB / 1.193 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/1.102, allocations: 0.7844 MB / 1.194 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 3.316e-06/1.102, allocations: 0 / 1.194 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.004528/1.106, allocations: 1.838 MB / 1.196 GB, free: 168 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/1.106, allocations: 195.8 kB / 1.196 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.108, allocations: 0.8706 MB / 1.197 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/1.108, allocations: 55.7 kB / 1.197 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/1.108, allocations: 0.6014 MB / 1.197 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/1.109, allocations: 408.3 kB / 1.198 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/1.109, allocations: 260.7 kB / 1.198 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.109, allocations: 355 kB / 1.198 GB, free: 14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008847/1.11, allocations: 445.2 kB / 1.199 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/1.111, allocations: 0.5648 MB / 1.199 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.113, allocations: 0.9885 MB / 1.2 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.113, allocations: 112 / 1.2 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003111/1.116, allocations: 1.351 MB / 1.202 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.116, allocations: 4.438 kB / 1.202 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.116, allocations: 0 / 1.202 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.117, allocations: 89.14 kB / 1.202 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.118, allocations: 264.4 kB / 1.202 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/1.121, allocations: 1.665 MB / 1.204 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.122, allocations: 154 kB / 1.204 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.123, allocations: 59.22 kB / 1.204 GB, free: 10.38 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.0008176/1.123, allocations: 352.8 kB / 1.204 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/1.124, allocations: 122.5 kB / 1.204 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/1.128, allocations: 1.708 MB / 1.206 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.128, allocations: 12 kB / 1.206 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.128, allocations: 4 kB / 1.206 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.128, allocations: 7.969 kB / 1.206 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.13, allocations: 1.404 MB / 1.207 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.13, allocations: 3.984 kB / 1.207 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/1.131, allocations: 215.7 kB / 1.208 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/1.132, allocations: 78.75 kB / 1.208 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/1.132, allocations: 35.97 kB / 1.208 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.134, allocations: 1.678 MB / 1.209 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/1.134, allocations: 3.938 kB / 1.209 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/1.137, allocations: 1.402 MB / 1.211 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/1.138, allocations: 379 kB / 1.211 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.138, allocations: 43.84 kB / 1.211 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/1.139, allocations: 87.89 kB / 1.211 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.139, allocations: 109.2 kB / 1.211 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.139, allocations: 63.95 kB / 1.211 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001009/1.14, allocations: 0.6425 MB / 1.212 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.14, allocations: 0 / 1.212 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001502/1.142, allocations: 498.6 kB / 1.212 GB, free: 1.383 MB / 0.9044 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.002095/1.144, allocations: 0.6262 MB / 1.213 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00485/1.149, allocations: 1.587 MB / 1.215 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.149, allocations: 0 / 1.215 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/1.15, allocations: 0.7441 MB / 1.215 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.152, allocations: 349.5 kB / 1.216 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/1.158, allocations: 3.326 MB / 1.219 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009901/1.159, allocations: 1.232 MB / 1.22 GB, free: 9.633 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/1.16, allocations: 175.3 kB / 1.22 GB, free: 9.461 MB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/1.16, allocations: 0 / 1.22 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Templates: time 0.04609/1.206, allocations: 27.84 MB / 1.247 GB, free: 13.71 MB / 0.9512 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/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