Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001239/0.001239, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001431/0.001431, allocations: 220.3 kB / 22.25 MB, free: 5.254 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.785 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.067/3.067, allocations: 0.49 GB / 0.7951 GB, free: 35.34 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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001956/0.001956, allocations: 66.48 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00677/0.3508, allocations: 4.431 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.5212, allocations: 132.7 MB / 1.46 GB, free: 7.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.522, allocations: 23.81 kB / 1.46 GB, free: 7.887 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.5226, allocations: 194.2 kB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.5244, allocations: 0.5651 MB / 1.46 GB, free: 7.133 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5264, allocations: 0.8558 MB / 1.461 GB, free: 6.281 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.5279, allocations: 1.394 MB / 1.463 GB, free: 4.883 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.5287, allocations: 413.9 kB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007395/0.5294, allocations: 0.5061 MB / 1.464 GB, free: 3.945 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/0.5301, allocations: 0.5056 MB / 1.464 GB, free: 3.438 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.5302, allocations: 120 kB / 1.464 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.5312, allocations: 0.4996 MB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.5315, allocations: 291.1 kB / 1.465 GB, free: 2.535 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.532, allocations: 465.7 kB / 1.465 GB, free: 2.078 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.534, allocations: 1.693 MB / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.534, allocations: 0 / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.433e-06/0.534, allocations: 0 / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.5341, allocations: 0 / 1.467 GB, free: 388 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002501/0.5366, allocations: 1.411 MB / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5366, allocations: 11.97 kB / 1.468 GB, free: 14.92 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.5368, allocations: 135.4 kB / 1.469 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.5382, allocations: 236 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.5396, allocations: 0.7142 MB / 1.469 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.5396, allocations: 62 kB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5398, allocations: 87.92 kB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.5415, allocations: 1.169 MB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5415, allocations: 0 / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.5416, allocations: 39.98 kB / 1.471 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5416, allocations: 20 kB / 1.471 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.5434, allocations: 1.057 MB / 1.472 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.5473, allocations: 2.209 MB / 1.474 GB, free: 8.992 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5487, allocations: 0.7561 MB / 1.475 GB, free: 8.227 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.5492, allocations: 274.7 kB / 1.475 GB, free: 7.957 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-05/0.5493, allocations: 24.62 kB / 1.475 GB, free: 7.934 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009511/0.5503, allocations: 0.5851 MB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.5503, allocations: 0 / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003153/0.5534, allocations: 1.131 MB / 1.477 GB, free: 6.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5535, allocations: 188.6 kB / 1.477 GB, free: 5.938 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.5545, allocations: 0.6568 MB / 1.478 GB, free: 5.273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.5545, allocations: 45.7 kB / 1.478 GB, free: 5.223 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.5549, allocations: 408.9 kB / 1.478 GB, free: 4.816 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.5552, allocations: 269.7 kB / 1.478 GB, free: 4.551 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.5554, allocations: 146.6 kB / 1.478 GB, free: 4.402 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.5556, allocations: 390.7 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.5561, allocations: 249.8 kB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.5568, allocations: 491.1 kB / 1.479 GB, free: 3.23 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5579, allocations: 0.5838 MB / 1.48 GB, free: 2.637 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5579, allocations: 0 / 1.48 GB, free: 2.637 MB / 1.17 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001877/0.5598, allocations: 0.8102 MB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5598, allocations: 7.938 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.5598, allocations: 3.938 kB / 1.481 GB, free: 1.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.5604, allocations: 88.77 kB / 1.481 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.561, allocations: 147.8 kB / 1.481 GB, free: 1.566 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.5632, allocations: 1.519 MB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.5639, allocations: 87.52 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.5639, allocations: 27.98 kB / 1.483 GB, free: 15.82 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.000464/0.5644, allocations: 273.6 kB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.5646, allocations: 91.38 kB / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.5669, allocations: 1.058 MB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5669, allocations: 8 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5669, allocations: 3.938 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5669, allocations: 3.984 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.568, allocations: 0.7507 MB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.568, allocations: 3.938 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.5686, allocations: 147.8 kB / 1.485 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.569, allocations: 68.78 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.569, allocations: 27.98 kB / 1.485 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.5709, allocations: 1.543 MB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5709, allocations: 0 / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.5729, allocations: 0.9361 MB / 1.487 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.5734, allocations: 199.1 kB / 1.488 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5735, allocations: 23.98 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.5741, allocations: 69.5 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5743, allocations: 76.8 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.5743, allocations: 35.97 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006635/0.575, allocations: 479 kB / 1.488 GB, free: 9.84 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.575, allocations: 0 / 1.488 GB, free: 9.84 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008777/0.5759, allocations: 323.2 kB / 1.489 GB, free: 9.523 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00423/0.5801, allocations: 2.023 MB / 1.491 GB, free: 7.684 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.5818, allocations: 0.7688 MB / 1.491 GB, free: 6.902 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5818, allocations: 0 / 1.491 GB, free: 6.902 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009016/0.5827, allocations: 496.2 kB / 1.492 GB, free: 6.41 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5839, allocations: 301 kB / 1.492 GB, free: 6.137 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5942, allocations: 6.22 MB / 1.498 GB, free: 15.76 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.5947, allocations: 438 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008465/0.5955, allocations: 270.7 kB / 1.499 GB, free: 15.03 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.5961, allocations: 387.3 kB / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of SimCode: time 9.32e-07/0.5961, allocations: 0 / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.6598, allocations: 23.64 MB / 1.522 GB, free: 7.312 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.07, allocations: 3.938 kB / 1.522 GB, free: 7.309 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.82152477602358]