Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7629 GB, free: 15.38 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.107 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008873/1.037, allocations: 6.97 MB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2249/1.262, allocations: 151.8 MB / 1.427 GB, free: 1.746 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/1.265, allocations: 26.22 kB / 1.427 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/1.266, allocations: 267.5 kB / 1.427 GB, free: 1.496 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00424/1.27, allocations: 0.8174 MB / 1.428 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/1.274, allocations: 1.009 MB / 1.429 GB, free: 60 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004649/1.279, allocations: 2.142 MB / 1.431 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.28, allocations: 0.7009 MB / 1.432 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/1.282, allocations: 0.8471 MB / 1.433 GB, free: 13.69 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1.284, allocations: 0.9071 MB / 1.434 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/1.284, allocations: 206.9 kB / 1.434 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/1.286, allocations: 0.574 MB / 1.434 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004899/1.286, allocations: 487.6 kB / 1.435 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/1.287, allocations: 0.9512 MB / 1.436 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004/1.291, allocations: 2.577 MB / 1.438 GB, free: 9.852 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.291, allocations: 1.469 kB / 1.438 GB, free: 9.852 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.833e-06/1.291, allocations: 0 / 1.438 GB, free: 9.852 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.766e-05/1.291, allocations: 0 / 1.438 GB, free: 9.852 MB / 1.123 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.005094/1.296, allocations: 2.111 MB / 1.44 GB, free: 8.152 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.296, allocations: 12.03 kB / 1.44 GB, free: 8.141 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.298, allocations: 263.6 kB / 1.441 GB, free: 7.883 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.299, allocations: 1.001 MB / 1.442 GB, free: 6.836 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.3, allocations: 115.1 kB / 1.442 GB, free: 6.723 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/1.3, allocations: 155.9 kB / 1.442 GB, free: 6.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/1.303, allocations: 1.58 MB / 1.443 GB, free: 4.934 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/1.303, allocations: 0 / 1.443 GB, free: 4.934 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/1.303, allocations: 67.94 kB / 1.443 GB, free: 4.867 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.303, allocations: 36 kB / 1.443 GB, free: 4.832 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/1.307, allocations: 1.631 MB / 1.445 GB, free: 3.195 MB / 1.123 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.008786/1.315, allocations: 4.533 MB / 1.449 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/1.318, allocations: 1.114 MB / 1.451 GB, free: 13.37 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/1.318, allocations: 431.7 kB / 1.451 GB, free: 12.95 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/1.319, allocations: 48.98 kB / 1.451 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/1.32, allocations: 0.7885 MB / 1.452 GB, free: 12.09 MB / 1.139 GB Notification: Performance of pre-optimization done (n=128): time 2.665e-06/1.32, allocations: 3.938 kB / 1.452 GB, free: 12.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=128): time 0.004779/1.325, allocations: 1.85 MB / 1.454 GB, free: 10.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/1.325, allocations: 193.2 kB / 1.454 GB, free: 9.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.326, allocations: 0.8653 MB / 1.455 GB, free: 9.09 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.326, allocations: 57.69 kB / 1.455 GB, free: 9.027 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/1.327, allocations: 0.6185 MB / 1.455 GB, free: 8.398 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/1.327, allocations: 432.4 kB / 1.456 GB, free: 7.973 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/1.328, allocations: 254.8 kB / 1.456 GB, free: 7.715 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.328, allocations: 353.9 kB / 1.456 GB, free: 7.363 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/1.329, allocations: 450.4 kB / 1.457 GB, free: 6.926 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.33, allocations: 0.5649 MB / 1.457 GB, free: 6.344 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.332, allocations: 0.9858 MB / 1.458 GB, free: 5.348 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.332, allocations: 8 kB / 1.458 GB, free: 5.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003128/1.335, allocations: 1.348 MB / 1.46 GB, free: 3.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.335, allocations: 8 kB / 1.46 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.335, allocations: 0 / 1.46 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006621/1.336, allocations: 88.83 kB / 1.46 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.337, allocations: 263.6 kB / 1.46 GB, free: 3.625 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.339, allocations: 1.658 MB / 1.462 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.34, allocations: 149 kB / 1.462 GB, free: 1.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.341, allocations: 59.95 kB / 1.462 GB, free: 1.621 MB / 1.139 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.0008156/1.341, allocations: 353.7 kB / 1.462 GB, free: 1.266 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/1.342, allocations: 127.2 kB / 1.462 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/1.346, allocations: 1.702 MB / 1.464 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.346, allocations: 16 kB / 1.464 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.346, allocations: 0 / 1.464 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.346, allocations: 11.97 kB / 1.464 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/1.348, allocations: 1.405 MB / 1.465 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.348, allocations: 3.984 kB / 1.465 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/1.349, allocations: 219.6 kB / 1.465 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/1.349, allocations: 72.78 kB / 1.466 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.923e-05/1.349, allocations: 43.91 kB / 1.466 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.351, allocations: 1.67 MB / 1.467 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.351, allocations: 0 / 1.467 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.355, allocations: 1.418 MB / 1.469 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/1.355, allocations: 383.8 kB / 1.469 GB, free: 9.953 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.356, allocations: 35.89 kB / 1.469 GB, free: 9.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/1.357, allocations: 87.84 kB / 1.469 GB, free: 9.832 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.357, allocations: 109.2 kB / 1.469 GB, free: 9.723 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.357, allocations: 55.95 kB / 1.469 GB, free: 9.668 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001005/1.358, allocations: 0.6464 MB / 1.47 GB, free: 9.012 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.358, allocations: 0 / 1.47 GB, free: 9.012 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001391/1.359, allocations: 498.8 kB / 1.47 GB, free: 8.523 MB / 1.154 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.002063/1.361, allocations: 0.6263 MB / 1.471 GB, free: 8.07 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.364, allocations: 1.216 MB / 1.472 GB, free: 6.844 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.364, allocations: 4 kB / 1.472 GB, free: 6.84 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/1.365, allocations: 0.6895 MB / 1.473 GB, free: 6.137 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.367, allocations: 363.8 kB / 1.473 GB, free: 5.805 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/1.372, allocations: 2.602 MB / 1.476 GB, free: 3.168 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/1.373, allocations: 1.236 MB / 1.477 GB, free: 1.895 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001147/1.374, allocations: 330.2 kB / 1.477 GB, free: 1.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/1.374, allocations: 159.3 kB / 1.477 GB, free: 1.414 MB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/1.374, allocations: 0 / 1.477 GB, free: 1.414 MB / 1.154 GB Notification: Performance of Templates: time 0.0402/1.415, allocations: 22.52 MB / 1.499 GB, free: 11.08 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.267966678366065]