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.001614/0.001614, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002131/0.002131, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.809 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.285/3.285, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.00217/0.00217, allocations: 66.8 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3559, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007258/0.3632, allocations: 4.511 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.5505, allocations: 132.9 MB / 1.46 GB, free: 7.973 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5517, allocations: 19.88 kB / 1.46 GB, free: 7.953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.5529, allocations: 210.1 kB / 1.46 GB, free: 7.746 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.5564, allocations: 0.6101 MB / 1.46 GB, free: 7.137 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.5601, allocations: 0.8699 MB / 1.461 GB, free: 6.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00303/0.5632, allocations: 1.475 MB / 1.463 GB, free: 4.793 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.5647, allocations: 398 kB / 1.463 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.5662, allocations: 0.5334 MB / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.5674, allocations: 0.4976 MB / 1.464 GB, free: 3.344 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.568, allocations: 124 kB / 1.464 GB, free: 3.223 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.57, allocations: 499.6 kB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.5707, allocations: 315 kB / 1.465 GB, free: 2.426 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.5719, allocations: 485.7 kB / 1.466 GB, free: 1.949 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.5759, allocations: 1.751 MB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5759, allocations: 0 / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5759, allocations: 0 / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of Transformations before backend: time 6.611e-05/0.576, allocations: 0 / 1.467 GB, free: 196 kB / 1.154 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.004952/0.581, allocations: 1.472 MB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.581, allocations: 8.031 kB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.584, allocations: 264 kB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.5861, allocations: 0.7376 MB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5862, allocations: 66 kB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.5865, allocations: 84 kB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.5887, allocations: 1.216 MB / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.5887, allocations: 0 / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.5888, allocations: 40 kB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.5889, allocations: 24 kB / 1.471 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.591, allocations: 1.112 MB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005053/0.5961, allocations: 2.244 MB / 1.474 GB, free: 8.707 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5978, allocations: 0.7943 MB / 1.475 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.5984, allocations: 302.7 kB / 1.475 GB, free: 7.602 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.5985, allocations: 24.64 kB / 1.475 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.5996, allocations: 0.6336 MB / 1.476 GB, free: 6.906 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.975e-06/0.5996, allocations: 0 / 1.476 GB, free: 6.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003597/0.6032, allocations: 1.223 MB / 1.477 GB, free: 5.672 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.6034, allocations: 188.9 kB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.6043, allocations: 0.633 MB / 1.478 GB, free: 4.805 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/0.6044, allocations: 49.7 kB / 1.478 GB, free: 4.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.6049, allocations: 409.1 kB / 1.478 GB, free: 4.344 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.6052, allocations: 301.5 kB / 1.479 GB, free: 4.047 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.6055, allocations: 178.6 kB / 1.479 GB, free: 3.867 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.6058, allocations: 394.7 kB / 1.479 GB, free: 3.473 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.6064, allocations: 293.7 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.6072, allocations: 0.5113 MB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6085, allocations: 0.6594 MB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6085, allocations: 0 / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002237/0.6107, allocations: 0.9117 MB / 1.482 GB, free: 1.039 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6108, allocations: 4 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6108, allocations: 7.938 kB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.6114, allocations: 84.86 kB / 1.482 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.6122, allocations: 179.7 kB / 1.482 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.6146, allocations: 1.5 MB / 1.483 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.6154, allocations: 99.39 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.6155, allocations: 39.97 kB / 1.483 GB, free: 15.02 MB / 1.186 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.0005394/0.6161, allocations: 280.1 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.6163, allocations: 87.62 kB / 1.484 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.6193, allocations: 1.167 MB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6193, allocations: 8 kB / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6193, allocations: 7.922 kB / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6193, allocations: 3.984 kB / 1.485 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6204, allocations: 0.6654 MB / 1.486 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6204, allocations: 0 / 1.486 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.6212, allocations: 159.8 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.6216, allocations: 72.73 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.6217, allocations: 27.97 kB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.6237, allocations: 1.528 MB / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6237, allocations: 0 / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.6259, allocations: 0.9986 MB / 1.488 GB, free: 9.844 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.6264, allocations: 207 kB / 1.489 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6266, allocations: 24 kB / 1.489 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/0.6273, allocations: 71.98 kB / 1.489 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.6275, allocations: 84.84 kB / 1.489 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.6276, allocations: 35.98 kB / 1.489 GB, free: 9.426 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007486/0.6283, allocations: 455 kB / 1.489 GB, free: 8.984 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6283, allocations: 0 / 1.489 GB, free: 8.984 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001021/0.6293, allocations: 351.1 kB / 1.49 GB, free: 8.641 MB / 1.186 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.002201/0.6315, allocations: 0.65 MB / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.6336, allocations: 0.8546 MB / 1.491 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6336, allocations: 0 / 1.491 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.6347, allocations: 0.5238 MB / 1.491 GB, free: 6.789 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.636, allocations: 302.8 kB / 1.492 GB, free: 6.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.6395, allocations: 1.77 MB / 1.494 GB, free: 4.719 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.6401, allocations: 457.8 kB / 1.494 GB, free: 4.242 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009388/0.6411, allocations: 270.8 kB / 1.494 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.6414, allocations: 115.4 kB / 1.494 GB, free: 3.859 MB / 1.186 GB Notification: Performance of SimCode: time 1.232e-06/0.6414, allocations: 0 / 1.494 GB, free: 3.859 MB / 1.186 GB Notification: Performance of Templates: time 0.03096/0.6724, allocations: 17.18 MB / 1.511 GB, free: 2.938 MB / 1.201 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.94384498335421]