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.001856/0.001856, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002317/0.002317, allocations: 198.5 kB / 22.17 MB, free: 5.211 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.766/2.766, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 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.001949/0.001949, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8041, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009078/0.8131, allocations: 6.975 MB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.9984, allocations: 151.9 MB / 1.429 GB, free: 5.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.9995, allocations: 23.88 kB / 1.429 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007618/1, allocations: 261.4 kB / 1.429 GB, free: 4.809 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/1.003, allocations: 0.8032 MB / 1.43 GB, free: 4.004 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/1.006, allocations: 1.018 MB / 1.431 GB, free: 2.992 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003297/1.009, allocations: 2.148 MB / 1.433 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/1.01, allocations: 0.706 MB / 1.434 GB, free: 84 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/1.012, allocations: 0.8448 MB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/1.013, allocations: 0.9103 MB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/1.014, allocations: 208 kB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/1.015, allocations: 0.5699 MB / 1.436 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004765/1.015, allocations: 486.4 kB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.017, allocations: 0.9485 MB / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003909/1.02, allocations: 2.584 MB / 1.44 GB, free: 9.523 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.02, allocations: 0 / 1.44 GB, free: 9.523 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 0 / 1.44 GB, free: 9.523 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.491e-05/1.021, allocations: 0 / 1.44 GB, free: 9.523 MB / 1.139 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.004767/1.025, allocations: 2.114 MB / 1.442 GB, free: 7.348 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.025, allocations: 8.031 kB / 1.442 GB, free: 7.34 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.027, allocations: 263.6 kB / 1.443 GB, free: 7.082 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.028, allocations: 0.9974 MB / 1.444 GB, free: 6.039 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.028, allocations: 115.1 kB / 1.444 GB, free: 5.926 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.029, allocations: 152 kB / 1.444 GB, free: 5.777 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/1.032, allocations: 1.584 MB / 1.445 GB, free: 4.137 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/1.032, allocations: 3.938 kB / 1.445 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/1.032, allocations: 71.98 kB / 1.446 GB, free: 4.062 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/1.032, allocations: 36 kB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/1.035, allocations: 1.643 MB / 1.447 GB, free: 2.379 MB / 1.139 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.008535/1.044, allocations: 4.518 MB / 1.452 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/1.046, allocations: 1.12 MB / 1.453 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/1.047, allocations: 435.7 kB / 1.453 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.047, allocations: 45.11 kB / 1.453 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/1.048, allocations: 0.7825 MB / 1.454 GB, free: 11.29 MB / 1.154 GB Notification: Performance of pre-optimization done (n=128): time 2.805e-06/1.048, allocations: 0 / 1.454 GB, free: 11.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=128): time 0.004838/1.053, allocations: 1.854 MB / 1.456 GB, free: 9.406 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/1.053, allocations: 193.2 kB / 1.456 GB, free: 9.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/1.055, allocations: 0.8692 MB / 1.457 GB, free: 8.281 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.055, allocations: 49.7 kB / 1.457 GB, free: 8.227 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.056, allocations: 0.6224 MB / 1.457 GB, free: 7.594 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/1.056, allocations: 424.4 kB / 1.458 GB, free: 7.176 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/1.056, allocations: 262.8 kB / 1.458 GB, free: 6.914 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.057, allocations: 345.9 kB / 1.458 GB, free: 6.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/1.058, allocations: 454.4 kB / 1.459 GB, free: 6.125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.059, allocations: 0.5649 MB / 1.459 GB, free: 5.543 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/1.061, allocations: 0.9857 MB / 1.46 GB, free: 4.547 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.061, allocations: 4 kB / 1.46 GB, free: 4.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003267/1.064, allocations: 1.352 MB / 1.462 GB, free: 3.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.064, allocations: 5.875 kB / 1.462 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.064, allocations: 0 / 1.462 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/1.065, allocations: 84.84 kB / 1.462 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.066, allocations: 271.6 kB / 1.462 GB, free: 2.824 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.068, allocations: 1.654 MB / 1.464 GB, free: 1.023 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.07, allocations: 147.2 kB / 1.464 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.07, allocations: 63.94 kB / 1.464 GB, free: 0.8164 MB / 1.154 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.0008227/1.071, allocations: 351 kB / 1.464 GB, free: 476 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/1.071, allocations: 127.2 kB / 1.464 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/1.075, allocations: 1.706 MB / 1.466 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.075, allocations: 19.94 kB / 1.466 GB, free: 14.6 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.075, allocations: 0 / 1.466 GB, free: 14.6 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.075, allocations: 7.969 kB / 1.466 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/1.078, allocations: 1.408 MB / 1.467 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.078, allocations: 0 / 1.467 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.079, allocations: 215.7 kB / 1.468 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/1.079, allocations: 80.72 kB / 1.468 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.079, allocations: 35.97 kB / 1.468 GB, free: 12.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/1.082, allocations: 1.681 MB / 1.469 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.082, allocations: 0 / 1.469 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/1.085, allocations: 1.411 MB / 1.471 GB, free: 9.543 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/1.086, allocations: 379.8 kB / 1.471 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.086, allocations: 32.09 kB / 1.471 GB, free: 9.121 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009658/1.087, allocations: 98.84 kB / 1.471 GB, free: 9.027 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.087, allocations: 113.1 kB / 1.471 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.088, allocations: 51.97 kB / 1.471 GB, free: 8.867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001061/1.089, allocations: 0.6464 MB / 1.472 GB, free: 8.211 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.472 GB, free: 8.211 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001355/1.09, allocations: 494.7 kB / 1.472 GB, free: 7.727 MB / 1.17 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.002021/1.092, allocations: 0.6426 MB / 1.473 GB, free: 7.262 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002785/1.095, allocations: 1.212 MB / 1.474 GB, free: 6.039 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.095, allocations: 4.188 kB / 1.474 GB, free: 6.035 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.096, allocations: 0.6932 MB / 1.475 GB, free: 5.328 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/1.098, allocations: 351 kB / 1.475 GB, free: 5.008 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/1.103, allocations: 2.606 MB / 1.478 GB, free: 2.371 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/1.104, allocations: 1.235 MB / 1.479 GB, free: 1.105 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001124/1.105, allocations: 338.1 kB / 1.479 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/1.105, allocations: 163.3 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/1.105, allocations: 0 / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of Templates: time 0.04118/1.146, allocations: 22.51 MB / 1.501 GB, free: 10.29 MB / 1.201 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.894211216829717]