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.006339/0.006339, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001228/0.001228, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.597/2.597, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 1.018 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2892, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008537/0.2978, allocations: 6.955 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.7801/1.078, allocations: 151.3 MB / 1.321 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/1.079, allocations: 18.16 kB / 1.321 GB, free: 8.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007283/1.08, allocations: 260.6 kB / 1.321 GB, free: 8.547 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002329/1.082, allocations: 0.7902 MB / 1.322 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/1.084, allocations: 0.9905 MB / 1.323 GB, free: 8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002519/1.087, allocations: 2.141 MB / 1.325 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.088, allocations: 1.028 MB / 1.326 GB, free: 6.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/1.09, allocations: 0.8361 MB / 1.327 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/1.091, allocations: 0.9035 MB / 1.328 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/1.091, allocations: 206.9 kB / 1.328 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/1.092, allocations: 0.5675 MB / 1.329 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/1.093, allocations: 483.3 kB / 1.329 GB, free: 5.598 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/1.094, allocations: 0.9478 MB / 1.33 GB, free: 4.977 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/1.097, allocations: 2.587 MB / 1.333 GB, free: 3.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.097, allocations: 1.312 kB / 1.333 GB, free: 3.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/1.097, allocations: 0 / 1.333 GB, free: 3.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.667e-05/1.097, allocations: 4 kB / 1.333 GB, free: 3.863 MB / 1.014 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.004139/1.101, allocations: 2.106 MB / 1.335 GB, free: 2.492 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.101, allocations: 13.3 kB / 1.335 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/1.102, allocations: 270.3 kB / 1.335 GB, free: 2.379 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/1.104, allocations: 1.005 MB / 1.336 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/1.104, allocations: 113.8 kB / 1.336 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.104, allocations: 149.5 kB / 1.336 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/1.107, allocations: 1.582 MB / 1.338 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.107, allocations: 0 / 1.338 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.107, allocations: 66.28 kB / 1.338 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/1.107, allocations: 38.03 kB / 1.338 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/1.11, allocations: 1.635 MB / 1.339 GB, free: 460 kB / 1.014 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.006786/1.117, allocations: 4.544 MB / 1.344 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/1.119, allocations: 1.192 MB / 1.345 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008801/1.12, allocations: 480.5 kB / 1.345 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/1.12, allocations: 52.89 kB / 1.345 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/1.122, allocations: 0.7814 MB / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 6.973e-06/1.122, allocations: 0 / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.004874/1.127, allocations: 1.85 MB / 1.348 GB, free: 12.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.127, allocations: 196.5 kB / 1.348 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.128, allocations: 0.8686 MB / 1.349 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.128, allocations: 52.98 kB / 1.349 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/1.129, allocations: 0.6162 MB / 1.35 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/1.129, allocations: 432.8 kB / 1.35 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/1.129, allocations: 254 kB / 1.35 GB, free: 10.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.13, allocations: 362.1 kB / 1.351 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/1.131, allocations: 452.4 kB / 1.351 GB, free: 9.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009955/1.132, allocations: 0.557 MB / 1.352 GB, free: 9.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/1.134, allocations: 0.9913 MB / 1.353 GB, free: 9.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.134, allocations: 1.156 kB / 1.353 GB, free: 9.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003165/1.137, allocations: 1.346 MB / 1.354 GB, free: 8.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.137, allocations: 5.375 kB / 1.354 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.137, allocations: 3.203 kB / 1.354 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/1.137, allocations: 93.8 kB / 1.354 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.138, allocations: 261.9 kB / 1.354 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.141, allocations: 1.65 MB / 1.356 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.142, allocations: 152.9 kB / 1.356 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.142, allocations: 55.83 kB / 1.356 GB, free: 6.73 MB / 1.029 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.0006842/1.143, allocations: 358 kB / 1.356 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.143, allocations: 124.1 kB / 1.357 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/1.147, allocations: 1.71 MB / 1.358 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.147, allocations: 13.75 kB / 1.358 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.147, allocations: 1.375 kB / 1.358 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.147, allocations: 11.97 kB / 1.358 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.149, allocations: 1.403 MB / 1.36 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.149, allocations: 0 / 1.36 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/1.15, allocations: 219.9 kB / 1.36 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/1.15, allocations: 73.12 kB / 1.36 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/1.15, allocations: 40.94 kB / 1.36 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.152, allocations: 1.67 MB / 1.362 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.152, allocations: 7.875 kB / 1.362 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/1.155, allocations: 1.412 MB / 1.363 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/1.155, allocations: 382.7 kB / 1.363 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.156, allocations: 34.48 kB / 1.363 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/1.157, allocations: 87.34 kB / 1.363 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.157, allocations: 112.3 kB / 1.364 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.157, allocations: 54.58 kB / 1.364 GB, free: 1.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008406/1.158, allocations: 0.6433 MB / 1.364 GB, free: 1.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0 / 1.364 GB, free: 1.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00121/1.159, allocations: 0.4937 MB / 1.365 GB, free: 0.9297 MB / 1.029 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.00137/1.16, allocations: 0.6245 MB / 1.365 GB, free: 0.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002348/1.163, allocations: 1.277 MB / 1.367 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.163, allocations: 0 / 1.367 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.164, allocations: 0.7402 MB / 1.367 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.165, allocations: 350.1 kB / 1.368 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/1.169, allocations: 2.601 MB / 1.37 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/1.17, allocations: 1.238 MB / 1.371 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001001/1.171, allocations: 334.6 kB / 1.372 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/1.171, allocations: 157.1 kB / 1.372 GB, free: 12.72 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.171, allocations: 0 / 1.372 GB, free: 12.72 MB / 1.045 GB Notification: Performance of Templates: time 0.03393/1.205, allocations: 21.98 MB / 1.393 GB, free: 11.72 MB / 1.061 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