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.001848/0.001847, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002139/0.002139, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.752/2.752, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6962, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009251/0.7055, allocations: 6.928 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.8893, allocations: 149 MB / 1.169 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.8903, allocations: 19.94 kB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.8911, allocations: 202.3 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.8933, allocations: 0.7072 MB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.8955, allocations: 0.8855 MB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.8981, allocations: 2.129 MB / 1.173 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.8995, allocations: 1.03 MB / 1.174 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.9008, allocations: 0.833 MB / 1.175 GB, free: 356 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.9019, allocations: 0.9105 MB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.9022, allocations: 211.9 kB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.9032, allocations: 0.5308 MB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.9036, allocations: 482.5 kB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009902/0.9046, allocations: 0.9641 MB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.9074, allocations: 2.512 MB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9074, allocations: 0 / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9074, allocations: 0 / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.9075, allocations: 4 kB / 1.18 GB, free: 10.73 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.004307/0.9118, allocations: 2.058 MB / 1.182 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9118, allocations: 15.98 kB / 1.182 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9129, allocations: 254.6 kB / 1.183 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.9144, allocations: 0.9732 MB / 1.183 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.9145, allocations: 115.1 kB / 1.184 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.9148, allocations: 144 kB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.9178, allocations: 1.584 MB / 1.185 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.9178, allocations: 4 kB / 1.185 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.918, allocations: 67.94 kB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.918, allocations: 36 kB / 1.185 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.9209, allocations: 1.639 MB / 1.187 GB, free: 3.688 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.007847/0.9288, allocations: 4.571 MB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.9311, allocations: 1.184 MB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/0.932, allocations: 479.6 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.9321, allocations: 49.08 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.9336, allocations: 0.7821 MB / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.825e-06/0.9336, allocations: 0 / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004637/0.9383, allocations: 1.846 MB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.9385, allocations: 201.2 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.9397, allocations: 0.8732 MB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.9399, allocations: 53.7 kB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.9404, allocations: 0.6014 MB / 1.197 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.9408, allocations: 406.2 kB / 1.198 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.9412, allocations: 262.6 kB / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9414, allocations: 353.9 kB / 1.198 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009291/0.9423, allocations: 450.4 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.9434, allocations: 0.5649 MB / 1.199 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.9453, allocations: 0.9935 MB / 1.2 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9453, allocations: 0 / 1.2 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003066/0.9484, allocations: 1.348 MB / 1.202 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.9484, allocations: 4 kB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9484, allocations: 4 kB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.9491, allocations: 80.84 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.9503, allocations: 267.6 kB / 1.202 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.9528, allocations: 1.655 MB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.9541, allocations: 154.9 kB / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.9542, allocations: 55.95 kB / 1.204 GB, free: 1.977 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.0006817/0.9549, allocations: 357.7 kB / 1.204 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.9552, allocations: 118.5 kB / 1.204 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.9591, allocations: 1.713 MB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.9592, allocations: 12 kB / 1.206 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.9592, allocations: 0 / 1.206 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.9592, allocations: 7.969 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.9612, allocations: 1.404 MB / 1.207 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9612, allocations: 0 / 1.207 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.9622, allocations: 223.7 kB / 1.207 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.9627, allocations: 68.8 kB / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.9628, allocations: 39.95 kB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.9651, allocations: 1.674 MB / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9651, allocations: 8.094 kB / 1.209 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.9683, allocations: 1.406 MB / 1.211 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.9689, allocations: 375 kB / 1.211 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.9692, allocations: 43.84 kB / 1.211 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.9702, allocations: 85.16 kB / 1.211 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.9704, allocations: 117.1 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9705, allocations: 55.97 kB / 1.211 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009594/0.9715, allocations: 0.6464 MB / 1.212 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9715, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001192/0.9727, allocations: 494.6 kB / 1.212 GB, free: 8.898 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.002018/0.9747, allocations: 0.6224 MB / 1.213 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004228/0.979, allocations: 1.591 MB / 1.214 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.979, allocations: 0 / 1.214 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.9804, allocations: 0.7441 MB / 1.215 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.9818, allocations: 361.3 kB / 1.216 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.9868, allocations: 3.279 MB / 1.219 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009534/0.9878, allocations: 1.225 MB / 1.22 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001146/0.9889, allocations: 334.1 kB / 1.22 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.9894, allocations: 167.3 kB / 1.22 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.9894, allocations: 3.938 kB / 1.22 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of Templates: time 0.03891/1.028, allocations: 21.54 MB / 1.241 GB, free: 11.35 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