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.001359/0.001359, allocations: 108 kB / 16.45 MB, free: 6.508 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.001488/0.001488, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.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 3.17/3.17, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 72.38 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007593/0.3588, allocations: 5.042 MB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.5474, allocations: 154.2 MB / 1.477 GB, free: 2.965 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5484, allocations: 19.88 kB / 1.477 GB, free: 2.945 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.549, allocations: 202.1 kB / 1.477 GB, free: 2.746 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.5509, allocations: 0.5994 MB / 1.478 GB, free: 2.148 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.5529, allocations: 0.8605 MB / 1.478 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.5546, allocations: 1.475 MB / 1.48 GB, free: 15.81 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.5554, allocations: 434.4 kB / 1.48 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.5561, allocations: 0.5333 MB / 1.481 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006842/0.5568, allocations: 0.5523 MB / 1.481 GB, free: 14.27 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5569, allocations: 120 kB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.5579, allocations: 0.5152 MB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.5582, allocations: 311 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.5588, allocations: 0.5907 MB / 1.483 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.561, allocations: 1.732 MB / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.561, allocations: 7.984 kB / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.332e-06/0.561, allocations: 0 / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.561, allocations: 4 kB / 1.484 GB, free: 10.99 MB / 1.186 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.002856/0.5639, allocations: 1.543 MB / 1.486 GB, free: 9.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5639, allocations: 15.98 kB / 1.486 GB, free: 9.379 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.5659, allocations: 264 kB / 1.486 GB, free: 9.121 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5673, allocations: 0.8019 MB / 1.487 GB, free: 8.277 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/0.5673, allocations: 66 kB / 1.487 GB, free: 8.211 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.5675, allocations: 88 kB / 1.487 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.5693, allocations: 0.9691 MB / 1.488 GB, free: 7.117 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.5693, allocations: 3.938 kB / 1.488 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.5694, allocations: 39.94 kB / 1.488 GB, free: 7.074 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.5694, allocations: 20 kB / 1.488 GB, free: 7.055 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.5714, allocations: 1.151 MB / 1.489 GB, free: 5.898 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.5765, allocations: 2.931 MB / 1.492 GB, free: 2.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.5781, allocations: 0.7872 MB / 1.493 GB, free: 2.047 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.5787, allocations: 290.7 kB / 1.493 GB, free: 1.758 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/0.5788, allocations: 40.67 kB / 1.493 GB, free: 1.719 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.5798, allocations: 0.5358 MB / 1.494 GB, free: 1.168 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.5798, allocations: 0 / 1.494 GB, free: 1.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003722/0.5835, allocations: 1.298 MB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.5837, allocations: 200.8 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5847, allocations: 0.6802 MB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.5848, allocations: 45.7 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.5853, allocations: 413.2 kB / 1.496 GB, free: 14.46 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.5856, allocations: 301.4 kB / 1.497 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.5859, allocations: 178.6 kB / 1.497 GB, free: 13.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.5861, allocations: 394.7 kB / 1.497 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.5867, allocations: 289.8 kB / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.5874, allocations: 395.1 kB / 1.498 GB, free: 12.9 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.5888, allocations: 0.6594 MB / 1.498 GB, free: 12.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5888, allocations: 3.938 kB / 1.498 GB, free: 12.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002493/0.5912, allocations: 0.9272 MB / 1.499 GB, free: 11.29 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5913, allocations: 11.94 kB / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5913, allocations: 0 / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.5919, allocations: 80.83 kB / 1.499 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/0.5927, allocations: 175.8 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.5951, allocations: 1.634 MB / 1.501 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/0.5961, allocations: 103.4 kB / 1.501 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/0.5962, allocations: 43.91 kB / 1.501 GB, free: 9.098 MB / 1.201 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.0005888/0.5968, allocations: 278.1 kB / 1.502 GB, free: 8.812 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.597, allocations: 95.39 kB / 1.502 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.5997, allocations: 1.164 MB / 1.503 GB, free: 7.539 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5997, allocations: 8 kB / 1.503 GB, free: 7.531 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5997, allocations: 0 / 1.503 GB, free: 7.531 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.5997, allocations: 7.969 kB / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.601, allocations: 0.9426 MB / 1.504 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.601, allocations: 0 / 1.504 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.6016, allocations: 167.7 kB / 1.504 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.6021, allocations: 72.78 kB / 1.504 GB, free: 6.293 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.6021, allocations: 27.92 kB / 1.504 GB, free: 6.266 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.6042, allocations: 1.658 MB / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6042, allocations: 0 / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.6065, allocations: 1.002 MB / 1.507 GB, free: 3.438 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.6069, allocations: 292.1 kB / 1.507 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.607, allocations: 27.95 kB / 1.507 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.6077, allocations: 69.97 kB / 1.507 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.6079, allocations: 76.89 kB / 1.507 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.608, allocations: 40.05 kB / 1.507 GB, free: 2.926 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007327/0.6087, allocations: 495 kB / 1.508 GB, free: 2.445 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6087, allocations: 4 kB / 1.508 GB, free: 2.441 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001049/0.6098, allocations: 347.1 kB / 1.508 GB, free: 2.102 MB / 1.201 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.002123/0.6119, allocations: 0.6217 MB / 1.509 GB, free: 1.656 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002129/0.614, allocations: 0.8547 MB / 1.509 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.614, allocations: 4 kB / 1.509 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.615, allocations: 0.5157 MB / 1.51 GB, free: 264 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.6164, allocations: 307.2 kB / 1.51 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.6199, allocations: 1.78 MB / 1.512 GB, free: 14.17 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.6206, allocations: 1.044 MB / 1.513 GB, free: 13.1 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.6214, allocations: 279.2 kB / 1.513 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.6218, allocations: 115.4 kB / 1.513 GB, free: 12.71 MB / 1.217 GB Notification: Performance of SimCode: time 8.42e-07/0.6218, allocations: 0 / 1.513 GB, free: 12.71 MB / 1.217 GB Notification: Performance of Templates: time 0.03064/0.6524, allocations: 16.38 MB / 1.529 GB, free: 12.5 MB / 1.232 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 -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/jenkins/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.868767341133207]