Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.002003/0.002003, allocations: 85.45 kB / 19.76 MB, free: 1.871 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.002006/0.002006, allocations: 163.8 kB / 23.01 MB, free: 4.594 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.914 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.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.59 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.002368/0.002368, allocations: 67.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.876, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005533/0.8816, allocations: 4.517 MB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2035/1.085, allocations: 132.9 MB / 1.288 GB, free: 4.711 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/1.086, allocations: 23.25 kB / 1.288 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000709/1.087, allocations: 204.5 kB / 1.288 GB, free: 4.559 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/1.089, allocations: 0.6035 MB / 1.289 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/1.091, allocations: 0.8655 MB / 1.29 GB, free: 3.719 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002118/1.094, allocations: 1.477 MB / 1.291 GB, free: 2.953 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/1.094, allocations: 402.6 kB / 1.292 GB, free: 2.715 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/1.095, allocations: 0.5363 MB / 1.292 GB, free: 2.453 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/1.096, allocations: 499.6 kB / 1.293 GB, free: 2.223 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/1.096, allocations: 127.3 kB / 1.293 GB, free: 2.219 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/1.098, allocations: 0.4904 MB / 1.293 GB, free: 2.102 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/1.098, allocations: 318.1 kB / 1.293 GB, free: 1.898 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006875/1.099, allocations: 489.6 kB / 1.294 GB, free: 1.613 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/1.102, allocations: 1.743 MB / 1.296 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.102, allocations: 0 / 1.296 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.126e-06/1.102, allocations: 0 / 1.296 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.595e-05/1.102, allocations: 0 / 1.296 GB, free: 0.8789 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00392/1.106, allocations: 1.473 MB / 1.297 GB, free: 15.91 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.106, allocations: 13.34 kB / 1.297 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/1.108, allocations: 269.1 kB / 1.297 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.11, allocations: 0.7372 MB / 1.298 GB, free: 15.38 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/1.11, allocations: 66.78 kB / 1.298 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.11, allocations: 85.84 kB / 1.298 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/1.112, allocations: 1.219 MB / 1.299 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/1.112, allocations: 0 / 1.299 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.113, allocations: 37.12 kB / 1.299 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/1.113, allocations: 22.5 kB / 1.299 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.115, allocations: 1.122 MB / 1.301 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/1.12, allocations: 2.244 MB / 1.303 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/1.121, allocations: 0.7962 MB / 1.303 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/1.122, allocations: 293.1 kB / 1.304 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.682e-05/1.122, allocations: 28.66 kB / 1.304 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/1.123, allocations: 0.6298 MB / 1.304 GB, free: 11.11 MB / 1.154 GB Notification: Performance of pre-optimization done (n=88): time 3.105e-06/1.123, allocations: 0 / 1.304 GB, free: 11.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=88): time 0.00378/1.127, allocations: 1.22 MB / 1.306 GB, free: 10.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.127, allocations: 195 kB / 1.306 GB, free: 10.28 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.128, allocations: 0.6315 MB / 1.306 GB, free: 9.906 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/1.128, allocations: 43.27 kB / 1.306 GB, free: 9.863 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/1.129, allocations: 419.8 kB / 1.307 GB, free: 9.496 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/1.129, allocations: 297.8 kB / 1.307 GB, free: 9.238 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/1.129, allocations: 177.7 kB / 1.307 GB, free: 9.133 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.129, allocations: 385.1 kB / 1.308 GB, free: 8.766 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/1.13, allocations: 293 kB / 1.308 GB, free: 8.621 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/1.131, allocations: 0.5148 MB / 1.308 GB, free: 8.238 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.132, allocations: 0.656 MB / 1.309 GB, free: 7.891 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.132, allocations: 1.375 kB / 1.309 GB, free: 7.891 MB / 1.154 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002513/1.135, allocations: 0.9163 MB / 1.31 GB, free: 7.426 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.135, allocations: 5.25 kB / 1.31 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.135, allocations: 9.031 kB / 1.31 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/1.135, allocations: 86.42 kB / 1.31 GB, free: 7.375 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/1.136, allocations: 175.3 kB / 1.31 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/1.139, allocations: 1.503 MB / 1.312 GB, free: 5.898 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/1.14, allocations: 98.89 kB / 1.312 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.14, allocations: 40.69 kB / 1.312 GB, free: 5.82 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0005708/1.14, allocations: 284.7 kB / 1.312 GB, free: 5.598 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/1.14, allocations: 92.39 kB / 1.312 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/1.143, allocations: 1.148 MB / 1.313 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.143, allocations: 18.77 kB / 1.313 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.143, allocations: 3.938 kB / 1.313 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.143, allocations: 7.969 kB / 1.313 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/1.145, allocations: 0.6683 MB / 1.314 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.145, allocations: 0 / 1.314 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/1.145, allocations: 151.8 kB / 1.314 GB, free: 4.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/1.146, allocations: 72.78 kB / 1.314 GB, free: 3.996 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/1.146, allocations: 31.91 kB / 1.314 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/1.148, allocations: 1.524 MB / 1.316 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.148, allocations: 0 / 1.316 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.15, allocations: 0.9986 MB / 1.317 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/1.151, allocations: 211 kB / 1.317 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/1.151, allocations: 19.98 kB / 1.317 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/1.152, allocations: 67.94 kB / 1.317 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.152, allocations: 80.84 kB / 1.317 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/1.152, allocations: 39.97 kB / 1.317 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006709/1.153, allocations: 459 kB / 1.318 GB, free: 468 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.318 GB, free: 468 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001143/1.154, allocations: 355 kB / 1.318 GB, free: 112 kB / 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002327/1.156, allocations: 0.6396 MB / 1.319 GB, free: 15.67 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.158, allocations: 0.8623 MB / 1.319 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.158, allocations: 0 / 1.319 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/1.159, allocations: 0.5238 MB / 1.32 GB, free: 14.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.161, allocations: 289.8 kB / 1.32 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/1.164, allocations: 1.77 MB / 1.322 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/1.165, allocations: 457.8 kB / 1.322 GB, free: 11.72 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009944/1.166, allocations: 274.8 kB / 1.323 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.166, allocations: 116.4 kB / 1.323 GB, free: 11.33 MB / 1.17 GB Notification: Performance of SimCode: time 7.71e-07/1.166, allocations: 4 kB / 1.323 GB, free: 11.33 MB / 1.17 GB Notification: Performance of Templates: time 0.03169/1.198, allocations: 16.12 MB / 1.338 GB, free: 11.5 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.706789744086564]