Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001491/0.001491, allocations: 113 kB / 18.94 MB, free: 2.934 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.002701/0.002701, allocations: 209.6 kB / 22.25 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.002011/0.002011, allocations: 64.09 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3667, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007957/0.3747, allocations: 4.945 MB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2008/0.5755, allocations: 154.1 MB / 1.439 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5766, allocations: 19.88 kB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.5773, allocations: 206.1 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.5795, allocations: 0.5528 MB / 1.439 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.5819, allocations: 0.8768 MB / 1.44 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.5838, allocations: 1.413 MB / 1.442 GB, free: 9.035 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.5846, allocations: 417.9 kB / 1.442 GB, free: 8.602 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008823/0.5855, allocations: 0.4983 MB / 1.443 GB, free: 8.102 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008325/0.5863, allocations: 0.5057 MB / 1.443 GB, free: 7.594 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.5865, allocations: 116 kB / 1.443 GB, free: 7.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5877, allocations: 0.5113 MB / 1.444 GB, free: 6.969 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.588, allocations: 303 kB / 1.444 GB, free: 6.672 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006067/0.5886, allocations: 0.5674 MB / 1.445 GB, free: 6.102 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.5909, allocations: 1.677 MB / 1.446 GB, free: 4.418 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.591, allocations: 0 / 1.446 GB, free: 4.418 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.272e-06/0.591, allocations: 0 / 1.446 GB, free: 4.418 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.591, allocations: 0 / 1.446 GB, free: 4.418 MB / 1.139 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.00302/0.594, allocations: 1.415 MB / 1.448 GB, free: 2.969 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.594, allocations: 11.97 kB / 1.448 GB, free: 2.957 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.5942, allocations: 135.4 kB / 1.448 GB, free: 2.816 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.5957, allocations: 236 kB / 1.448 GB, free: 2.586 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5971, allocations: 0.718 MB / 1.449 GB, free: 1.844 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.5972, allocations: 66 kB / 1.449 GB, free: 1.777 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5973, allocations: 76 kB / 1.449 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.5993, allocations: 0.9145 MB / 1.45 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.5993, allocations: 0 / 1.45 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5994, allocations: 36 kB / 1.45 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.5994, allocations: 20 kB / 1.45 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.6014, allocations: 1.1 MB / 1.451 GB, free: 15.59 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.6062, allocations: 2.631 MB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.6078, allocations: 0.7587 MB / 1.454 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.6083, allocations: 278.7 kB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/0.6084, allocations: 32.67 kB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.6093, allocations: 491.1 kB / 1.455 GB, free: 11.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=80): time 2.465e-06/0.6093, allocations: 0 / 1.455 GB, free: 11.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=80): time 0.003421/0.6127, allocations: 1.131 MB / 1.456 GB, free: 10.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.6129, allocations: 192.6 kB / 1.456 GB, free: 9.906 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009479/0.6138, allocations: 0.649 MB / 1.457 GB, free: 9.246 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.6139, allocations: 37.7 kB / 1.457 GB, free: 9.203 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6143, allocations: 413 kB / 1.457 GB, free: 8.793 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.6145, allocations: 273.7 kB / 1.457 GB, free: 8.523 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.6148, allocations: 146.6 kB / 1.458 GB, free: 8.371 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.615, allocations: 394.7 kB / 1.458 GB, free: 7.977 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.6155, allocations: 249.9 kB / 1.458 GB, free: 7.734 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.6162, allocations: 358.6 kB / 1.459 GB, free: 7.359 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.6173, allocations: 0.5838 MB / 1.459 GB, free: 6.762 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6173, allocations: 0 / 1.459 GB, free: 6.762 MB / 1.154 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002049/0.6194, allocations: 0.8063 MB / 1.46 GB, free: 5.949 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.6194, allocations: 11.98 kB / 1.46 GB, free: 5.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6194, allocations: 0 / 1.46 GB, free: 5.938 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/0.6201, allocations: 84.78 kB / 1.46 GB, free: 5.852 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.6208, allocations: 147.8 kB / 1.46 GB, free: 5.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.6231, allocations: 1.533 MB / 1.462 GB, free: 4.055 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.6239, allocations: 95.56 kB / 1.462 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.6239, allocations: 27.98 kB / 1.462 GB, free: 3.934 MB / 1.154 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.0005036/0.6244, allocations: 269.5 kB / 1.462 GB, free: 3.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.6246, allocations: 87.44 kB / 1.462 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.6271, allocations: 1.062 MB / 1.463 GB, free: 2.496 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6271, allocations: 8 kB / 1.463 GB, free: 2.488 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6271, allocations: 7.938 kB / 1.463 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6271, allocations: 3.984 kB / 1.463 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.6283, allocations: 0.887 MB / 1.464 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6283, allocations: 8 kB / 1.464 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.6289, allocations: 139.8 kB / 1.464 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.6294, allocations: 68.78 kB / 1.464 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.6295, allocations: 31.97 kB / 1.464 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.6316, allocations: 1.551 MB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6316, allocations: 0 / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.6338, allocations: 0.9285 MB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.6342, allocations: 203.1 kB / 1.467 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6343, allocations: 27.92 kB / 1.467 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.635, allocations: 57.97 kB / 1.467 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6351, allocations: 80.8 kB / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.6352, allocations: 39.97 kB / 1.467 GB, free: 14.28 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00066/0.6359, allocations: 475 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6359, allocations: 0 / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008663/0.6367, allocations: 323.2 kB / 1.468 GB, free: 13.5 MB / 1.17 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.004436/0.6412, allocations: 1.981 MB / 1.47 GB, free: 11.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.643, allocations: 0.7726 MB / 1.471 GB, free: 10.89 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.643, allocations: 4 kB / 1.471 GB, free: 10.89 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.644, allocations: 496.4 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6453, allocations: 300.9 kB / 1.471 GB, free: 10.12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.6568, allocations: 6.227 MB / 1.477 GB, free: 3.738 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.6576, allocations: 1.031 MB / 1.478 GB, free: 2.676 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008519/0.6584, allocations: 266.7 kB / 1.479 GB, free: 2.41 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.659, allocations: 391.3 kB / 1.479 GB, free: 2.027 MB / 1.17 GB Notification: Performance of SimCode: time 9.72e-07/0.659, allocations: 0 / 1.479 GB, free: 2.027 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/0.725, allocations: 22.41 MB / 1.501 GB, free: 11.89 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.46, allocations: 19.97 kB / 1.501 GB, free: 11.88 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.34839432499939]