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.001855/0.001855, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.002261/0.002261, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.084/3.084, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [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.002294/0.002294, allocations: 76.17 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3194, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007584/0.327, allocations: 5.029 MB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.5017, allocations: 154.2 MB / 1.476 GB, free: 3.484 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.5025, allocations: 23.81 kB / 1.476 GB, free: 3.461 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.5032, allocations: 202.1 kB / 1.476 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.5054, allocations: 0.5936 MB / 1.477 GB, free: 2.668 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5076, allocations: 0.8612 MB / 1.478 GB, free: 1.812 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5094, allocations: 1.479 MB / 1.479 GB, free: 336 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.5102, allocations: 422.4 kB / 1.48 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008444/0.511, allocations: 0.545 MB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.5117, allocations: 0.5445 MB / 1.481 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.5119, allocations: 124 kB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009983/0.5129, allocations: 0.5152 MB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.5132, allocations: 318.9 kB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.5138, allocations: 0.5907 MB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.5159, allocations: 1.739 MB / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5159, allocations: 0 / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5159, allocations: 0 / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.5159, allocations: 0 / 1.484 GB, free: 11.51 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.002944/0.5189, allocations: 1.547 MB / 1.486 GB, free: 9.906 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5189, allocations: 11.98 kB / 1.486 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.5191, allocations: 143.7 kB / 1.486 GB, free: 9.746 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.521, allocations: 268 kB / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.5223, allocations: 0.8018 MB / 1.487 GB, free: 8.641 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.5224, allocations: 66 kB / 1.487 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5225, allocations: 91.98 kB / 1.487 GB, free: 8.484 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5242, allocations: 0.9613 MB / 1.488 GB, free: 7.484 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5242, allocations: 4 kB / 1.488 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.5243, allocations: 40 kB / 1.488 GB, free: 7.441 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.5243, allocations: 20 kB / 1.488 GB, free: 7.422 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.5263, allocations: 1.163 MB / 1.489 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/0.5311, allocations: 2.919 MB / 1.492 GB, free: 3.207 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.5327, allocations: 0.8002 MB / 1.493 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.5333, allocations: 290.7 kB / 1.493 GB, free: 2.109 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/0.5334, allocations: 40.67 kB / 1.493 GB, free: 2.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/0.5343, allocations: 0.5237 MB / 1.493 GB, free: 1.531 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.615e-06/0.5343, allocations: 0 / 1.493 GB, free: 1.531 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003646/0.538, allocations: 1.308 MB / 1.495 GB, free: 208 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.5381, allocations: 196.8 kB / 1.495 GB, free: 15.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.5391, allocations: 0.6686 MB / 1.496 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.5392, allocations: 49.7 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.5395, allocations: 417.1 kB / 1.496 GB, free: 14.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.5398, allocations: 297.5 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.5401, allocations: 166.6 kB / 1.496 GB, free: 14.36 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.5403, allocations: 394.7 kB / 1.497 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.5408, allocations: 265.9 kB / 1.497 GB, free: 13.71 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.5415, allocations: 394.5 kB / 1.497 GB, free: 13.29 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5428, allocations: 0.632 MB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5428, allocations: 0 / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002227/0.545, allocations: 0.8765 MB / 1.499 GB, free: 11.76 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.545, allocations: 8 kB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.545, allocations: 0 / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.5457, allocations: 92.75 kB / 1.499 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.5464, allocations: 163.8 kB / 1.499 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.5486, allocations: 1.626 MB / 1.501 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/0.5494, allocations: 103.3 kB / 1.501 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.5495, allocations: 39.97 kB / 1.501 GB, free: 9.586 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: 18 (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 (97): * Single equations (assignments): 96 * 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.0005554/0.5501, allocations: 273.9 kB / 1.501 GB, free: 9.309 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.5503, allocations: 91.39 kB / 1.501 GB, free: 9.219 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.5529, allocations: 1.168 MB / 1.502 GB, free: 8.035 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5529, allocations: 8 kB / 1.502 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5529, allocations: 0 / 1.502 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.553, allocations: 7.969 kB / 1.502 GB, free: 8.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.5542, allocations: 0.9504 MB / 1.503 GB, free: 7.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5542, allocations: 3.938 kB / 1.503 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.5548, allocations: 159.8 kB / 1.504 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.5553, allocations: 72.72 kB / 1.504 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.5554, allocations: 27.98 kB / 1.504 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.5574, allocations: 1.662 MB / 1.505 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5574, allocations: 7.969 kB / 1.505 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.5597, allocations: 1.002 MB / 1.506 GB, free: 3.918 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.5602, allocations: 296.1 kB / 1.507 GB, free: 3.609 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.5603, allocations: 27.94 kB / 1.507 GB, free: 3.582 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.561, allocations: 63.92 kB / 1.507 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.5612, allocations: 76.89 kB / 1.507 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5613, allocations: 39.97 kB / 1.507 GB, free: 3.406 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007151/0.562, allocations: 0.4912 MB / 1.507 GB, free: 2.918 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.562, allocations: 0 / 1.507 GB, free: 2.918 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009534/0.563, allocations: 335.2 kB / 1.508 GB, free: 2.59 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.004341/0.5673, allocations: 2.066 MB / 1.51 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.5692, allocations: 0.8351 MB / 1.51 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5692, allocations: 0 / 1.51 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.5702, allocations: 0.5159 MB / 1.511 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5714, allocations: 303.6 kB / 1.511 GB, free: 15.03 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5826, allocations: 6.607 MB / 1.518 GB, free: 8.273 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.5833, allocations: 1.05 MB / 1.519 GB, free: 7.195 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008496/0.5842, allocations: 279.2 kB / 1.519 GB, free: 6.918 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.5848, allocations: 419.3 kB / 1.519 GB, free: 6.508 MB / 1.217 GB Notification: Performance of SimCode: time 6.82e-07/0.5848, allocations: 0 / 1.519 GB, free: 6.508 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/0.6455, allocations: 23.12 MB / 1.542 GB, free: 15.69 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.22, allocations: 15.92 kB / 1.542 GB, free: 15.68 MB / 1.248 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] 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: 20.821610090089962]