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.001328/0.001328, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00147/0.00147, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.903/2.903, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",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.001946/0.001946, allocations: 67.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8533, allocations: 176.1 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005095/0.8583, allocations: 5.044 MB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1913/1.05, allocations: 154.2 MB / 1.477 GB, free: 4.047 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/1.051, allocations: 22.88 kB / 1.477 GB, free: 4.035 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008078/1.052, allocations: 202.2 kB / 1.477 GB, free: 3.855 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/1.054, allocations: 0.5942 MB / 1.478 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/1.057, allocations: 0.8608 MB / 1.479 GB, free: 2.758 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00236/1.059, allocations: 1.478 MB / 1.48 GB, free: 1.836 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009245/1.06, allocations: 427.7 kB / 1.48 GB, free: 1.523 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/1.061, allocations: 0.5461 MB / 1.481 GB, free: 1.195 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/1.062, allocations: 0.5452 MB / 1.482 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/1.062, allocations: 122.2 kB / 1.482 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/1.064, allocations: 0.5129 MB / 1.482 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/1.064, allocations: 316.8 kB / 1.482 GB, free: 368 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007495/1.065, allocations: 0.5905 MB / 1.483 GB, free: 15.92 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/1.068, allocations: 1.739 MB / 1.485 GB, free: 14.67 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.068, allocations: 0 / 1.485 GB, free: 14.67 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/1.068, allocations: 5.219 kB / 1.485 GB, free: 14.66 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.867e-05/1.068, allocations: 0 / 1.485 GB, free: 14.66 MB / 1.17 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.003503/1.071, allocations: 1.556 MB / 1.486 GB, free: 13.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.071, allocations: 13.83 kB / 1.486 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.329e-05/1.071, allocations: 22.56 kB / 1.486 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/1.071, allocations: 138 kB / 1.486 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/1.074, allocations: 266.7 kB / 1.487 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/1.075, allocations: 0.8051 MB / 1.487 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/1.075, allocations: 69.41 kB / 1.487 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.075, allocations: 89.67 kB / 1.488 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.077, allocations: 0.9633 MB / 1.489 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.077, allocations: 0 / 1.489 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.077, allocations: 41.94 kB / 1.489 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/1.077, allocations: 21.47 kB / 1.489 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.079, allocations: 1.155 MB / 1.49 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/1.085, allocations: 2.917 MB / 1.493 GB, free: 8.922 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.086, allocations: 0.8056 MB / 1.493 GB, free: 8.504 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/1.087, allocations: 297 kB / 1.494 GB, free: 8.348 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/1.087, allocations: 35.22 kB / 1.494 GB, free: 8.328 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/1.088, allocations: 0.5275 MB / 1.494 GB, free: 7.988 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.775e-06/1.088, allocations: 0 / 1.494 GB, free: 7.988 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003953/1.092, allocations: 1.311 MB / 1.495 GB, free: 6.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.092, allocations: 192.9 kB / 1.496 GB, free: 6.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.093, allocations: 0.6802 MB / 1.496 GB, free: 5.883 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.094, allocations: 45.7 kB / 1.496 GB, free: 5.832 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.094, allocations: 417.1 kB / 1.497 GB, free: 5.418 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/1.094, allocations: 297.5 kB / 1.497 GB, free: 5.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.095, allocations: 158.6 kB / 1.497 GB, free: 4.961 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.095, allocations: 394.7 kB / 1.498 GB, free: 4.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/1.095, allocations: 273.9 kB / 1.498 GB, free: 4.301 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/1.096, allocations: 386.5 kB / 1.498 GB, free: 3.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.098, allocations: 0.6359 MB / 1.499 GB, free: 3.25 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.098, allocations: 4 kB / 1.499 GB, free: 3.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002304/1.1, allocations: 0.8687 MB / 1.5 GB, free: 2.371 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.1, allocations: 8 kB / 1.5 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.1, allocations: 0 / 1.5 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/1.101, allocations: 88.77 kB / 1.5 GB, free: 2.273 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/1.101, allocations: 167.8 kB / 1.5 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.104, allocations: 1.63 MB / 1.502 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009693/1.105, allocations: 103.5 kB / 1.502 GB, free: 232 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/1.105, allocations: 39.97 kB / 1.502 GB, free: 192 kB / 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: 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.0006072/1.105, allocations: 267.7 kB / 1.502 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/1.106, allocations: 99.38 kB / 1.502 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/1.109, allocations: 1.172 MB / 1.503 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.109, allocations: 12 kB / 1.503 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.109, allocations: 0 / 1.503 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.109, allocations: 7.984 kB / 1.503 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/1.11, allocations: 0.9426 MB / 1.504 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.11, allocations: 0 / 1.504 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/1.111, allocations: 151.8 kB / 1.504 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/1.111, allocations: 80.66 kB / 1.504 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.526e-05/1.111, allocations: 31.97 kB / 1.504 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/1.114, allocations: 1.658 MB / 1.506 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.114, allocations: 4.062 kB / 1.506 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/1.116, allocations: 1.002 MB / 1.507 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006293/1.117, allocations: 288.1 kB / 1.507 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.117, allocations: 27.88 kB / 1.507 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/1.118, allocations: 68.06 kB / 1.507 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/1.118, allocations: 80.88 kB / 1.507 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.118, allocations: 39.97 kB / 1.507 GB, free: 10.01 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007312/1.119, allocations: 0.4912 MB / 1.508 GB, free: 9.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.119, allocations: 0 / 1.508 GB, free: 9.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001092/1.12, allocations: 335.2 kB / 1.508 GB, free: 9.199 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.004709/1.125, allocations: 2.063 MB / 1.51 GB, free: 7.289 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.127, allocations: 0.8234 MB / 1.511 GB, free: 6.453 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.127, allocations: 0 / 1.511 GB, free: 6.453 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.128, allocations: 0.5276 MB / 1.512 GB, free: 5.91 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.129, allocations: 306.5 kB / 1.512 GB, free: 5.629 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.141, allocations: 6.603 MB / 1.518 GB, free: 14.87 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.142, allocations: 1.04 MB / 1.519 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009104/1.143, allocations: 279.2 kB / 1.52 GB, free: 13.52 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/1.144, allocations: 419.2 kB / 1.52 GB, free: 13.11 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/1.144, allocations: 0 / 1.52 GB, free: 13.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06029/1.204, allocations: 23.18 MB / 1.543 GB, free: 6.266 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.37, allocations: 9.312 kB / 1.543 GB, free: 6.262 MB / 1.217 GB " [Timeout remaining time 284] (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: 21.933394975960255]