Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 161.6 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8966, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006142/0.9028, allocations: 6.14 MB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1788/1.082, allocations: 133.3 MB / 1.29 GB, free: 3.316 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/1.083, allocations: 26.84 kB / 1.29 GB, free: 3.305 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/1.084, allocations: 267.2 kB / 1.29 GB, free: 3.125 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/1.087, allocations: 0.8206 MB / 1.291 GB, free: 2.605 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/1.091, allocations: 1.007 MB / 1.292 GB, free: 2.043 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003303/1.094, allocations: 2.164 MB / 1.294 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/1.095, allocations: 0.69 MB / 1.295 GB, free: 488 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/1.097, allocations: 0.8806 MB / 1.296 GB, free: 40 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/1.098, allocations: 0.8008 MB / 1.297 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002967/1.099, allocations: 209.3 kB / 1.297 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/1.1, allocations: 0.5708 MB / 1.297 GB, free: 15.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/1.1, allocations: 499 kB / 1.298 GB, free: 15.22 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009801/1.101, allocations: 0.7826 MB / 1.299 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/1.105, allocations: 2.65 MB / 1.301 GB, free: 13.12 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.105, allocations: 1.094 kB / 1.301 GB, free: 13.12 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/1.105, allocations: 0 / 1.301 GB, free: 13.12 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.335e-05/1.105, allocations: 0 / 1.301 GB, free: 13.12 MB / 1.154 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.004787/1.11, allocations: 2.069 MB / 1.303 GB, free: 11.56 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.11, allocations: 9.75 kB / 1.303 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/1.114, allocations: 460.5 kB / 1.304 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/1.116, allocations: 0.939 MB / 1.305 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/1.117, allocations: 114.5 kB / 1.305 GB, free: 10.58 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/1.117, allocations: 151.9 kB / 1.305 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/1.12, allocations: 1.833 MB / 1.307 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/1.12, allocations: 3.938 kB / 1.307 GB, free: 9.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/1.12, allocations: 62.5 kB / 1.307 GB, free: 9.184 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/1.12, allocations: 38.03 kB / 1.307 GB, free: 9.184 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/1.123, allocations: 1.584 MB / 1.308 GB, free: 8.391 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/1.13, allocations: 3.445 MB / 1.312 GB, free: 5.867 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/1.133, allocations: 1.105 MB / 1.313 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008482/1.134, allocations: 437 kB / 1.313 GB, free: 5.066 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/1.134, allocations: 33.5 kB / 1.313 GB, free: 5.055 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/1.135, allocations: 0.8827 MB / 1.314 GB, free: 4.43 MB / 1.154 GB Notification: Performance of pre-optimization done (n=128): time 4.027e-06/1.135, allocations: 0 / 1.314 GB, free: 4.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=128): time 0.004931/1.14, allocations: 1.752 MB / 1.316 GB, free: 2.672 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.14, allocations: 201.2 kB / 1.316 GB, free: 2.434 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.142, allocations: 0.7747 MB / 1.317 GB, free: 1.652 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.142, allocations: 57.7 kB / 1.317 GB, free: 1.59 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/1.142, allocations: 0.634 MB / 1.317 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000434/1.143, allocations: 432.3 kB / 1.318 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/1.143, allocations: 262.8 kB / 1.318 GB, free: 260 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.143, allocations: 349.9 kB / 1.318 GB, free: 15.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/1.144, allocations: 446.4 kB / 1.319 GB, free: 15.47 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.146, allocations: 0.6944 MB / 1.319 GB, free: 14.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.148, allocations: 0.9896 MB / 1.32 GB, free: 13.73 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.148, allocations: 0 / 1.32 GB, free: 13.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00323/1.151, allocations: 1.344 MB / 1.322 GB, free: 12.38 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.151, allocations: 8 kB / 1.322 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.151, allocations: 0 / 1.322 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/1.152, allocations: 80.95 kB / 1.322 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.153, allocations: 275.4 kB / 1.322 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.155, allocations: 1.512 MB / 1.324 GB, free: 10.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.156, allocations: 143.3 kB / 1.324 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.157, allocations: 51.95 kB / 1.324 GB, free: 10.21 MB / 1.17 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.000769/1.157, allocations: 353.6 kB / 1.324 GB, free: 9.855 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/1.158, allocations: 119.2 kB / 1.324 GB, free: 9.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/1.162, allocations: 1.693 MB / 1.326 GB, free: 8.027 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.162, allocations: 12 kB / 1.326 GB, free: 8.016 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.162, allocations: 4 kB / 1.326 GB, free: 8.012 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.162, allocations: 11.95 kB / 1.326 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/1.164, allocations: 0.9778 MB / 1.327 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/1.164, allocations: 4 kB / 1.327 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.165, allocations: 211.7 kB / 1.327 GB, free: 6.777 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/1.165, allocations: 76.72 kB / 1.327 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.165, allocations: 39.97 kB / 1.327 GB, free: 6.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/1.167, allocations: 1.551 MB / 1.329 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.167, allocations: 0 / 1.329 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/1.17, allocations: 1.395 MB / 1.33 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/1.171, allocations: 282.7 kB / 1.33 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/1.171, allocations: 43.88 kB / 1.33 GB, free: 3.266 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.172, allocations: 87.84 kB / 1.33 GB, free: 3.18 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/1.173, allocations: 117.1 kB / 1.331 GB, free: 3.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.173, allocations: 47.97 kB / 1.331 GB, free: 3.016 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009098/1.174, allocations: 0.5849 MB / 1.331 GB, free: 2.438 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 0 / 1.331 GB, free: 2.438 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001457/1.175, allocations: 0.5025 MB / 1.332 GB, free: 1.934 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.002299/1.177, allocations: 0.6545 MB / 1.332 GB, free: 1.488 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.18, allocations: 1.232 MB / 1.333 GB, free: 248 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.18, allocations: 0 / 1.333 GB, free: 248 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.182, allocations: 0.6854 MB / 1.334 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.183, allocations: 324.9 kB / 1.334 GB, free: 15.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/1.188, allocations: 2.614 MB / 1.337 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.189, allocations: 0.6549 MB / 1.338 GB, free: 11.9 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001109/1.19, allocations: 325.3 kB / 1.338 GB, free: 11.58 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.19, allocations: 164.4 kB / 1.338 GB, free: 11.42 MB / 1.186 GB Notification: Performance of SimCode: time 7.71e-07/1.19, allocations: 0 / 1.338 GB, free: 11.42 MB / 1.186 GB Notification: Performance of Templates: time 0.03948/1.23, allocations: 21.09 MB / 1.359 GB, free: 6.617 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.950238356017508]