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.001717/0.001717, 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.002221/0.002221, allocations: 214.4 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.781 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.079/3.079, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002305/0.002305, allocations: 67.55 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3474, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.009693/0.3571, allocations: 4.43 MB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2055/0.5626, allocations: 132.7 MB / 1.459 GB, free: 8.719 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.5634, allocations: 23.81 kB / 1.459 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.5641, allocations: 202.2 kB / 1.459 GB, free: 8.496 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.566, allocations: 0.5507 MB / 1.46 GB, free: 7.945 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5681, allocations: 0.8629 MB / 1.461 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.57, allocations: 1.401 MB / 1.462 GB, free: 5.684 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008131/0.5708, allocations: 393.9 kB / 1.462 GB, free: 5.273 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008073/0.5716, allocations: 0.4983 MB / 1.463 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.5723, allocations: 461.7 kB / 1.463 GB, free: 4.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.5725, allocations: 124 kB / 1.463 GB, free: 4.199 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.5736, allocations: 491.6 kB / 1.464 GB, free: 3.719 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.5739, allocations: 307 kB / 1.464 GB, free: 3.418 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.5744, allocations: 461.8 kB / 1.465 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.5767, allocations: 1.693 MB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5768, allocations: 0 / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5768, allocations: 0 / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.5768, allocations: 0 / 1.466 GB, free: 1.266 MB / 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.002803/0.5796, allocations: 1.415 MB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5796, allocations: 12.03 kB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.5798, allocations: 135.4 kB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.5813, allocations: 232 kB / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5827, allocations: 0.718 MB / 1.469 GB, free: 14.69 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.5827, allocations: 62 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5829, allocations: 80 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.5847, allocations: 1.165 MB / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5848, allocations: 0 / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.5848, allocations: 32 kB / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.5849, allocations: 20 kB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5867, allocations: 1.065 MB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.5911, allocations: 2.213 MB / 1.473 GB, free: 9.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.5927, allocations: 0.7561 MB / 1.474 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.5932, allocations: 266.7 kB / 1.474 GB, free: 8.859 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.5933, allocations: 28.62 kB / 1.474 GB, free: 8.832 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009958/0.5943, allocations: 0.5839 MB / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.565e-06/0.5943, allocations: 0 / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003343/0.5976, allocations: 1.131 MB / 1.476 GB, free: 7.062 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.5977, allocations: 192.5 kB / 1.476 GB, free: 6.832 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.5987, allocations: 0.649 MB / 1.477 GB, free: 6.176 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.5988, allocations: 45.7 kB / 1.477 GB, free: 6.125 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.5992, allocations: 413 kB / 1.477 GB, free: 5.715 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5994, allocations: 273.8 kB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.5997, allocations: 142.6 kB / 1.478 GB, free: 5.301 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5999, allocations: 394.7 kB / 1.478 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.6005, allocations: 245.9 kB / 1.478 GB, free: 4.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.6012, allocations: 491.1 kB / 1.479 GB, free: 4.129 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6023, allocations: 0.5838 MB / 1.479 GB, free: 3.535 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6023, allocations: 0 / 1.479 GB, free: 3.535 MB / 1.17 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002048/0.6044, allocations: 0.814 MB / 1.48 GB, free: 2.707 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6044, allocations: 4 kB / 1.48 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6044, allocations: 0 / 1.48 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.605, allocations: 84.78 kB / 1.48 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.6057, allocations: 147.8 kB / 1.48 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.608, allocations: 1.529 MB / 1.482 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6088, allocations: 93.45 kB / 1.482 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.6089, allocations: 31.98 kB / 1.482 GB, free: 0.707 MB / 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: 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.000508/0.6094, allocations: 261.6 kB / 1.482 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6096, allocations: 87.44 kB / 1.482 GB, free: 364 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.6121, allocations: 1.066 MB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.6122, allocations: 8 kB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6122, allocations: 3.938 kB / 1.483 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.6122, allocations: 3.984 kB / 1.483 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.6133, allocations: 0.7506 MB / 1.484 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6134, allocations: 3.984 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.6139, allocations: 147.8 kB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.6144, allocations: 64.8 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.6145, allocations: 27.97 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.6166, allocations: 1.551 MB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6166, allocations: 144 / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.6188, allocations: 0.9321 MB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.6193, allocations: 211.1 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6195, allocations: 16 kB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.6201, allocations: 71.86 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6202, allocations: 76.8 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/0.6203, allocations: 31.98 kB / 1.487 GB, free: 11.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006873/0.621, allocations: 479 kB / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.621, allocations: 0 / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009047/0.6219, allocations: 319.2 kB / 1.488 GB, free: 10.42 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.004587/0.6265, allocations: 2.017 MB / 1.49 GB, free: 8.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.6284, allocations: 0.7687 MB / 1.49 GB, free: 7.805 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6284, allocations: 4.188 kB / 1.49 GB, free: 7.801 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.6293, allocations: 0.4885 MB / 1.491 GB, free: 7.305 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6306, allocations: 302.9 kB / 1.491 GB, free: 7.027 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.6423, allocations: 6.216 MB / 1.497 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.6429, allocations: 443.8 kB / 1.498 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00101/0.6439, allocations: 270.8 kB / 1.498 GB, free: 15.91 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.6445, allocations: 383.3 kB / 1.498 GB, free: 15.54 MB / 1.201 GB Notification: Performance of SimCode: time 1.472e-06/0.6445, allocations: 8 kB / 1.498 GB, free: 15.53 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.7104, allocations: 23.39 MB / 1.521 GB, free: 8.465 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.26, allocations: 10.48 kB / 1.521 GB, free: 8.457 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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: 21.0117118190974]